CAUSEVALID Property
PLBCMP GUI Only
The CAUSEVALID property specifies that moving focus to the object will trigger the VALIDATE event for the previously selected object. The property uses the following format:
CAUSEVALID={value}
Note the following:
CAUSEVALID may be used in CREATE, SETPROP, or GETPROP statements.
By setting the CAUSEVALID property OFF, an object is prevented from causing a VALIDATE event when that object becomes the data entry focal point.
{value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
The VALIDATE event is ... |
|
0 |
$OFF |
not enabled. |
|
1 |
$ON |
enabled. |
If the CAUSEVALID property for a TOOLBUTTON is enabled, the CAUSEVALID property for its parent TOOLBAR must also be enabled before a VALIDATE event can be triggered by the toolbutton.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |