DCCHECKBOX/DCGROUP with SL1
Posted: Fri Apr 16, 2010 9:47 am
Hi, Roger.
I guess, a Get/Set-color-function for checkboxes and groups is needed. If they are placed on the new tabpages (SL1), they/their captions (groups) always appear with the background color returned by GRA_BACKGROUND, and this is NOT the background color of the tabpages (which is white by default). Even if the colors are set for a checkbox (i.e. GRA_CLR_BLACK, GRA_CLR_WHITE) and the checkbox is disabled when the dialog comes up, they have the GRA_BACKGROUND background until they turn to be enabled. BTW, this turns into real sh*t if skins are used (Alaska missed something with AutomationTranslateColor there). This problem appears with DCSAY .. GETs turned into checkboxes with the CHECKGET option aswell.
Tom.
I guess, a Get/Set-color-function for checkboxes and groups is needed. If they are placed on the new tabpages (SL1), they/their captions (groups) always appear with the background color returned by GRA_BACKGROUND, and this is NOT the background color of the tabpages (which is white by default). Even if the colors are set for a checkbox (i.e. GRA_CLR_BLACK, GRA_CLR_WHITE) and the checkbox is disabled when the dialog comes up, they have the GRA_BACKGROUND background until they turn to be enabled. BTW, this turns into real sh*t if skins are used (Alaska missed something with AutomationTranslateColor there). This problem appears with DCSAY .. GETs turned into checkboxes with the CHECKGET option aswell.
Tom.