Set Native Properties
Determines whether native OCX properties can be modified in ProcScript using $fieldproperties.
Value |
Description |
---|---|
|
Set native OCX properties only when the OCX control is instantiated |
|
Allow native OCX properties to be set in ProcScript. |
Usage
Dynamic? |
No |
Supported in Grid? |
No |
Dependencies: |
None |
Description
Both the dynamic properties of the OCX container widget and the native properties of the OCX control can be set in ProcScript using $fieldproperties. The properties of the OCX container widget are recognized by Uniface and passed to the widget. The other properties are passed to the OCX control.
During development, the static set of native
attributes of the OCX control are stored in the form component. This set is sent to the OCX control
after the control instance is created (and after each property modification, if this property is
set to On Each Property Modification
).
However, if this property is set to On
Creation Time Only
, you can use ProcScript to set the autostart property as
follows:
$fieldproperties("MY_OCX_FIELD.MY_ENTITY") = "autostart=true"
Using in ProcScript
This is a static property. It cannot be set in ProcScript.