hiOffsetField
hiOffsetField(r_2DFormOr2DMenus_fieldl_offsets) =>t / nil
Description
Offsets one field from its current position. This function cannot be used for fields that have field attachments. Use hiReattachField for fields with field attachments.
This routine adds the x and y offset values and the current x and y values to determine the new field position. An offset of 0 has no effect. Negative offsets may be specified, but the minimum value of the new x and y is 0. Both offset values are required.
Use this function to offset a single field. To offset more than one field, use hiOffsetFields.
The form must be instantiated.
Arguments
Value Returned
Examples
Offsets the ‘myField field by 10:20 pixels from the current location.
hiOffsetField ( testform ‘myField 10:20 )
=> t
Related Topics
Return to top