xfgrGetOptionProps
xfgrGetOptionProps(t_optionName l_propertiesName) => t /l_value
Description
Returns the value of the specified property or list of properties of an option in the xFGR Create form. This function is used from the xFGR Create form customization callback functions.
Arguments
Value Returned
Example
Returns the value of the specified property.
procedure(fgrCreateFormValueChanged(option value prevValue) let((props) when(option == “device” && xfgrGetOptionProps(option “value”) == "testFGR"
xfgrSetOptionProps("numrows" ?value 2) ) props = xfgrGetOptionProps(option list(“value” “enable”)) when(nth(1 props) == nil return(prevValue)
)
Return(t)
)
xfgrOptionValueChangeCB("r" "fgrCreateFormValueChanged")
Return to top