Why does the label-bgcolor instruction does not work in 10.2b ???

Stefan

Well-Known Member
It is manifest related - if you use a classic mode theme (or remote desktop) the bgcolor is applied. This behavior goes back to 10.1A. Remove the prowin32.manifest file (resulting in Windows 95 widgets being used instead of Windows XP widgets) and you have your background color back (along with square Windows 95 widgets).

Code:
DEFINE TEMP-TABLE tt NO-UNDO
   FIELD cc AS CHAR 
   .


DEFINE QUERY qq FOR tt.


DEFINE BROWSE br QUERY qq 
   DISPLAY tt.cc 
   ENABLE tt.cc  WITH 15 DOWN NO-ASSIGN SEPARATORS LABEL-BGCOLOR 3.


CREATE tt. tt.cc = "aa".
CREATE tt. tt.cc = "bb".


DEFINE FRAME fr
   br
   WITH SIZE 40 BY 15.


VIEW FRAME fr.

Which you could have easily found if you had searched the Progress Knowledge Base for label-bgcolor...
 
Top