|
|
|
|
|
Grayed (Property) In french: Grisé
The Grayed property is used to: - Determine if a control (or a group of controls) is grayed out.
- Gray out or ungray a control, a group of controls or a window.
// Grays out the GR_ShippingCost group of controls according to the value in EDT_Price IF EDT_Price > 100 THEN GR_ShippingCost.Grayed = True END
Syntax
Finding out whether an element is grayed out Hide the details
<Result> = <Element used>.Grayed
<Result>: Boolean - True if the element is grayed out,
- False otherwise.
<Element used>: Control name or window name Name of element to use: - Name of control,
- Name of group of controls,
 Window name.
Modifying the grayed out status for an element Hide the details
<Element used>.Grayed = <New value>
<Element used>: Control name or window name Name of element to use: - Name of control,
- Name of group of controls,
 Window name.
<New value>: Boolean - True if the element should be grayed out,
- False otherwise.
Remarks Equivalence The Grayed property set to True and the State property set to Grayed are equivalent, except for read-only controls that keep their "read-only" state.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|