pbUseDisabledColor - DfBaseFormList
Determines if a disabled cell should color text using peDisabledColor
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbUseDisabledColor
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbUseDisabledColor to BooleanVariable |
| Write Access: | Set pbUseDisabledColor to BooleanVariable/Value |
Description
Normally a grid uses the same background color for enabled and disabled cells. You can choose to set a different color for disabled cells by setting the peDisabledColor property. This property color is used only if the pbUseDisabledColor is set to True. When pbUseDisabledColor is set to False, the default, a disabled cell's background color is determined by the Color Property - the same property used to set enabled cell background color
The pbUseDisabledColor property also changes the way disabled cells are displayed. When false, the highlight row color will be applied to all cells enabled and disabled. When true, the peDisabledColor takes precedence over the highlight row color.
This property is exposed in the Studio although you will not see the effect of the change until you run your application.
Default is false.