of_isVisible

Description

Returns the visible state of the groupBox.

Syntax

window/userObject level
of_isVisible()
dataWindow level
of_isVisible(Long item)
of_isVisible(String item)

Parameter(s)

Name Type Description
item Long or String The name or index of the item for which the visible indicator is to be returned. The text of the item is the text the programmer gave when of_addGroupBox or of_replaceGroupBox was called. The index of the item is the same as the value returned when of_addGroupBox or of_replaceGroupBox was called.

Return Value

Returns TRUE if visible and FALSE if not visible.

Usage

When the method is called from a window/userObject level groupBox, there is no item parameter. When the method is called from a dataWindow level, the item is required to locate the correct groupBox.

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')

Boolean          lb_isVisible
lb_isVisible     = lnvo_groupBox.of_isVisible(ll_item)

lb_isVisible     = lnvo_groupBox.of_isVisible('Settings')

DESTROY lnvo_groupBox

See Also

Last edited Sep 27, 2016 at 2:02 PM by cjharris02892, version 4