ObjectDCL Banner

Font Property

Description

This setting will set the font name.

Type

This property is a string describing the font name.

Applies For

AngleSlider, BlockList, CheckBox, ComboBox, DwgList, EditableGrid, Frame, GraphicButton, ImageCombo, Label, ListBox, ListView, MonthPicker, Option, OptionList, PictureBox, TabControl, TextBox, TextButton, TreeControl, UrlLink.

Invoking From Old API

Can be passed as "Font" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetFont MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetFont "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetFont MyProject_MyForm_MyControl "Tahoma")

(Odcl_Control_SetFont "MyProject" "MyForm" "MyControl" "Tahoma")

See Also

FontBold, FontItalic, FontSize, FontSizeStyle, FontStrikeOut, FontUnderline