of_move

Description

Moves and resizes a stylized groupBox in the registered dataWindow in one call.

Syntax

window/userObject level
None
dataWindow level
of_position(Long item, long x, long y, long width, long height)
of_position(String item, long x, long y, long width, long height)

Parameter(s)

Name Type Description
item Long or String The name or index of the item to be resized. The text of the item is the text the programmer gave when of_addGroupBox or of_replaceGroupBox was called. The position of the item is the same as the value returned when of_addGroupBox or of_replaceGroupBox was called.
x Long The new x position of the groupBox
y Long The new y position of the groupBox
width Long The new width of the groupBox
height Long The new height of the groupBox

Return Value

None

Usage

Applies to dataWindow level usage only.

Examples

n_cst_groupBox   lnvo_groupBox
lnvo_groupBox    = CREATE n_cst_groupBox

lnvo_groupBox.of_register(dw_mine)

Long             ll_item
ll_item          = lnvo_groupBox.of_addGroupBox('Settings')

lnvo_groupBox.of_position(ll_item, 0, 0, 500, 100)

DESTROY lnvo_groupBox

See Also

Last edited Sep 24, 2016 at 4:49 PM by cjharris02892, version 2