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

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

t_optionName

The name of the option.

l_propertiesName

The list of name of properties.

Value Returned

t

The function is not successful.

l_value

The list of values of the specified property.

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
 ⠀
X