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
Value 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