of_setTextBold

Description

Changes the font weight of the text displayed for the groupBox.

Syntax

window/userObject level
of_setTextBold(Boolean bold)
dataWindow level
of_setTextBold(Long item, Boolean bold)
of_setTextBold(String item, Boolean bold)

Parameter(s)

Name Type Description
item Long or String The name or index of the groupBox for which the text font weight is to be set. The name of the groupBox is the name the programmer gave when of_addgroupBox or of_replaceGroupBox was called. The name of the groupBox is also the text displayed for the groupBox. The index of the groupBox is the same as the value returned when of_addgroupBox or of_replaceGroupBox was called
bold Boolean Indicates whether or not the text of the groupBox is to bolded, bold = TRUE and normal = FALSE

Return Value

None

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

lnvo_groupBox.of_setTextBold(ll_item, TRUE)

DESTROY lnvo_groupBox

See Also

Last edited Sep 27, 2016 at 12:57 PM by cjharris02892, version 4