Aaah, now I see! Was always searching in the help, and did't find anything, but it is as easy as .Background = Color.LightForeground Matti
Am 05.09.2010 22:27, schrieb Benoît Minisini: >> 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, > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
