Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the name of the font that should be used for the control.
Syntax
public str font([str value])
Run On
Client
Parameters
- value
Type: str
A String data type that indicates the font to use for text in a form combo box control; optional.
Return Value
Type: str
The name of the font that should be used, such as Tahoma or Verdana.
Examples
The following example shows how to return and set the font for a form combo box control.
str strFont;
;
// The ctrl variable was previously assigned
// as a form combo box control value.
// Retrieve the font.
strFont = ctrl.font();
// Set the font.
ctrl.font("Times New Roman");