[Gambas-user] Background

Benoît Minisini gambas at ...1...
Sun Sep 5 22:27:20 CEST 2010


> When I create a control, for example a panel, in the IDE, I can choose for
> background between system colors (like "LightForeground") or free colors
> (like 00FF00).
> When I create a control in code, only integer values are accepted for
> background. So I can set only "hard" colors like 00FF00, but not "soft"
> colors depending on the user's theme.
> Does anybody know the integer values for system colors? Can't find anything
> in the help.
> Thanks
> Matti
> 

Look at the properties of the Color class.

Everything done in the IDE form editor can be done by code!

Regards,

-- 
Benoît Minisini




More information about the User mailing list