FormComboBoxControl.labelFontSize Method [AX 2012]

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

public int labelFontSize([int value])

Run On

Client

Parameters

value
Type: int
An Integer data type that indicates the font size in points for the label text in a form combo box control; optional.

Return Value

Type: int
An Integer data type value that indicates the label font size in points for the text in a form combo box control.

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

int nSize; 
 
// The ctrl variable was previously assigned  
// as a form combo box control. 
 
// Retrieve the label font size. 
nSize = ctrl.labelFontSize(); 
 
// Set the label font size. 
ctrl.labelFontSize(16);

Community Additions

ADD
Show: