2.20 .bgc
The attribute .bgc defines the object background color.
Definition
-
Data type
object [ color ]
-
Access
get, set
-
changed event
yes
Note
-
With poptext .bgc is supported as follows:
- The closed poptext, i.e. the displayed item has foreground color and background color.
- The popped-up box uses a default color.
- menubox, menuitem, menusep, and messagebox ignore .bgc.
- The pushbutton always uses the system-wide default color for its background.
-
Depiction of the scrollbars in IDM objects (e.g. edittext, groupbox, listbox, treeview…):
In Microsoft Windows scrollbars are no separate objects but specific border styles. Therefore the ISA Dialog Manager generally has no influence on the color of the scollbar elements (rectangular area, arrows, thumb). As an example this may lead to the scrollbar elements being displayed in a system color (grey in most cases) although a different background color (.bgc) has been defined for the object.
-
With
Visual Styles
turned on, the Windows objects checkbox and radiobutton use a wrong background color. The IDM tries to correct this. If the correction can be successful is affected by manyVisual Styles
properties.To be on the safe side, a background color should be set for the father object, especially if it is a notepage. The drawback is that with the notepage an aditional border will be visible then.
- scrollbar objects with .arrows = false use the background color of their parent object and not their own.