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

vfoGRGetCreateFormPointer

vfoGRGetCreateFormPointer(
t_uniqueFormIdentifier
) 
=> r_formPointer

Description

Returns the form pointer corresponding to the unique identifier that creates the Create Guard Ring form.

Arguments

t_uniqueFormIdentifier

A unique identifier used for creating the Create Guard Ring form, which can be retrieved using vfoGRGetCreateFormIdentifier.

Value Returned

r_formPointer

The form pointer created using vfoGRNewCreateForm.

Example

errset(let(()
    ;Set a new Create Guard Ring form pointer.
    formStringId = "modgen"
;Provide the following to get the form pointer.
modgenFGRForm = vfoGRGetCreateFormPointer(formStringId)
;If the form pointer does not exist, create a new Create Guard Ring form pointer using the vfoGRNewCreateForm SKILL function with the provided callbackList.
unless(modgenFGRForm
modgenFGRForm = vfoGRNewCreateForm(formStringId 'OKCancelApply
list("_mgFormOKCB(modgenFGRForm formStringId modgenid)" ""))
;Then register the callback for the ’modgenFGRForm’ form pointer to call the customized form.
vfoGRRegCreateFormUpdateCallback(modgenFGRForm
     "_mgFormCustomizeCB")
)
;Display the form on screen.
when(modgenFGRForm
hiDisplayForm(modgenFGRForm))
));

Return to top
 ⠀
X