Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

xfgrOptionValueChangeCB

xfgrOptionValueChangeCB( 
t_mode
s_callbackFunction
[ g_optionName ]
) 
=> t / nil

Description

Registers or de-registers user-defined callback function to be called when the value of any option on the Create Fluid Guard Ring form changes.

Arguments

t_mode

The function mode.
Valid values: r for registration and d for de-registration.

s_callbackFunction

The name of the user callback function.

g_optionName

The callback function is called only for the specified option.

Value Returned

t

The function is successful.

nil

The function is not successful.

Example

Registers the optionValueChanged callback function.

procedure(optionValueChanged(option value)
    let(()
      xfgrAddOption(?optionName "testOptionStringLineEdit2" ?optionLabel "LineEdit String Label" ?optionType "string" ?optionWidgetType  "lineedit" ?groupName "" ?optionDefaultValue "fgr")
)
)
xfgrOptionValueChangeCB("r" "optionValueChanged")

Return to top
 ⠀
X