Badly chosen example, since the colour of buttons can't be changed and you have to use image buttons instead.julesd wrote:I mean like color themes changing the colors, of buttons Black with white fonts

Badly chosen example, since the colour of buttons can't be changed and you have to use image buttons instead.julesd wrote:I mean like color themes changing the colors, of buttons Black with white fonts
You can already do this, using the form panel - only for gadgets that support itjulesd wrote:I know you can change the background of the form already. But being able to do this for the gadgets as well, we can create color themes for our form and gadgets.
Not strictly true, since it's always an option to write one's own custom gadgets.Regenduft wrote:Badly chosen example, since the colour of buttons can't be changed and you have to use image buttons instead.julesd wrote:I mean like color themes changing the colors, of buttons Black with white fonts
That is making the assumption one actually uses the designer.rsts wrote:However one's own custom buttons will likely not be supported by the forms designer
ExactlyKuron wrote:That is making the assumption one actually uses the designer.rsts wrote:However one's own custom buttons will likely not be supported by the forms designer
Very nice! Thanks for sharing! Sometimes it can be very beneficial to be misunderstood!BorisTheOld wrote:We've created various GUI classes, based on the Canvas Gadget, to use in place of PB's gadgets. This gives us complete control over all GUI attributes, including colour, border styles, fonts, character underlining, cursor positioning, edit rules, themes, auto sizing, etc, etc.
This is done using only PB's standard cross-platform language features.
Here's a simple example of the technique: http://www.purebasic.fr/english/viewtop ... 12&t=57143
No, not "assumption".Kuron wrote:That is making the assumption one actually uses the designer.rsts wrote:However one's own custom buttons will likely not be supported by the forms designer
You're welcome!Regenduft wrote:Very nice! Thanks for sharing! Sometimes it can be very beneficial to be misunderstood!(I was referring to the form designer in my original posting)