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

axlJPGUICustSelected

axlJPGUICustSelected(
g_inst
g_form
g_enabled
)
=> nil

Description

Job Policy GUI Customization member function to enable or disable any HI customizations. The Job Policy GUI calls this function every time the job policy type is changed.

Arguments

g_inst

Instance of the class axlJPGUICust.

g_form

Form to be read. HI field customizations added by axlJPGUICustHIFields are the properties on the form.

g_enabled

Boolean set if customization is being shown and nil if hidden

Value Returned

None

Examples

Enables the HI customizations.

;; example setup
(defclass RemoteHost ( axlJPGUICust )
    ())
(defmethod axlJPGUICustHIFields ((inst RemoteHost) yoffset)
    `((,(hiCreateStringField
      ?name 'RemoteHostName
?prompt "Host"
?invisible nil)
(20 ,yoffset)
(370 30) 147))
)
;; selected method (defmethod axlJPGUICustSelected ((inst RemoteHost) form enabled)     form->RemoteHostName->invisible = !enabled     form->RemoteHostName->enabled = enabled)

Return to top
 ⠀
X