Official Content

Determines the font used to display text in a control. You must assign a string expression specifying the font name to use.

Syntax

control. FontName = value

Where:
control
    Is the name of a control inserted in the form
value 
    Is a string expression

Description

Applies to: Check Boxes, Combo Boxes, Dynamic Combo Boxes, Dynamic List Boxes, Edits, Grid’s Columns, List Boxes, Radio Buttons.

Runtime/Design time

This property applies only at run-time.

Samples

EvtBtn.FontName = 'Times New Roman'

where EvtBtn is the name of a button type control.

Scope

Objects: Transaction, Web Panel
Platforms: Web(.Net, Java)

See Also

FontSize property
FontBold property
FontItalic property
FontStrikethru property
FontUnderline property

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant