Page 1 of 1

Color ob disabled objects

Posted: Mon Sep 25, 2006 9:17 am
by giuliano
Hi Antonio.
I saw that you can show the disabled get in a dialog using the ldiscolors parameter that show the get with a normal color, not the light gray of windows.
If you have in a dialog some checkboxes, radios, combobox of multiple line gets, the color is always a light gray, that in some cases are really difficult to see.
Is possible to change the disabled color of these objects ?
Thanks a lot.

Posted: Mon Sep 25, 2006 9:34 am
by Antonio Linares
Giuliano,

With GETs its easier, but with other controls its more complex as we have to do the painting of the controls ourselves.

Posted: Mon Sep 25, 2006 10:50 am
by giuliano
With multiline gets is it possible ? Thanks

Posted: Mon Sep 25, 2006 3:49 pm
by Antonio Linares
Giuliano,

You may use the multiline GET clause READONLY, so it can not be edited, but it displays as enabled.