FormComboBoxControl.labelFont Method [AX 2012]

Sets or returns a font for the label text in a form combo box control.

public str labelFont([str value])

Run On

Client

Parameters

value
Type: str
A String data type that indicates the font for the label text in a form combo box control; optional.

Return Value

Type: str
A String data type value that indicates the font for the label text in a form combo box control.

The following example shows how to return and set the font for the label text in a form combo box control.

str strLabelFont; 
 
// The ctrl variable was previously assigned  
// as a form combo box control variable. 
 
// Retrieve the font. 
strLabelFont = ctrl.labelFont(); 
 
// Set the label font. 
ctrl.labelFont("Times New Roman");

Community Additions

ADD
Show: