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
|
Form to be read. HI field customizations added by |
||
|
Boolean set if customization is being shown and nil if hidden |
||
Value Returned
|
|
||
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