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

axlJPGUICustOffset

axlJPGUICustOffset(
g_inst
)
=> x_offset

Description

Job policy GUI customization member function to return the y size of the HI field customizations provided with the axlJPGUICustHIFields method. The value is obtained by adding 10 to the y position of the last HI element. The Job Policy form uses this value as the y offset for the form elements underneath the customization area.

Arguments

g_inst

Instance of the class axlJPGUICust

Value Returned

x_offset

The offset is returned.

Examples

Returns the y size of the HI field customizations provided with the axlJPGUICustHIFields method.

;; example setup
(defclass RemoteHost ( axlJPGUICust )
    ())
(defmethod axlJPGUICustHIFields ((inst RemoteHost) yoffset)
    `((,(hiCreateStringField
      ?name 'RemoteHostName
?prompt "Host"
?invisible nil)
(20 ,yoffset)
(370 30) 147))
)
;; offset method. 40 is the height of the stringfield (30) + 10 (defmethod axlJPGUICustOffset ((inst RemoteHost))     40)

Return to top
 ⠀
X