TakeFocus
Determines whether the OCX control gets focus so that the user does not need to click
the control first. True
(default) or False
.
Value |
Description |
---|---|
|
The focus is first set to the OCX container window and then to the control itself. |
|
The focus is set to the OCX container window, not to the control. |
Usage
Dynamic? |
Yes |
Supported in Grid? |
No |
Dependencies: |
None |
Description
In some cases, the default value causes the
control to work incorrectly, and it only works after the user has activated it with a mouse click.
In this case, set TakeFocus to False
.
Using in ProcScript
You can use $properties or $fieldproperties to set or get the property and its value. For more information, see $properties and $fieldproperties.
$fieldproperties(FLD) = "TakeFocus=False"