of_replaceGroupBox

Description

Replaces an existing PowerBuilder groupBox, as defined in the dataWindow painter, with a stylized groupBox.

Syntax

window/userObject level
None
dataWindow level
of_replaceGroupBox(String objectName)

Parameter(s)

Name Type Description
objectName String The objectName of the PowerBuilder groupBox to be replaced with a stylized groupBox

Return Value

Returns a long containing the index of the item.

Usage

Applies to dataWindow level only.

Once created, the new stylized groupBox name is set be the text of the PowerBuilder groupBox being replaced. The size/position of the new stylized groupBox is equal to the size/position of the PowerBuilder groupBox being replaced.

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_replaceGroupBox('gb_settings')

Boolean          lb_isEnabled
lb_isEnabled     = lnvo_groupBox.of_isEnabled(ll_item)

lb_isEnabled     = lnvo_groupBox.of_isEnabled('Settings')

DESTROY lnvo_groupBox

See Also

Last edited Sep 24, 2016 at 2:54 PM by cjharris02892, version 8