Applies to
Controls that display text
Description
Underline is a property of text in a control.
Usage
This property does not work in MonthCalendar controls on the Windows 7/8.1/10 operating system.
In a painter
To underline all text items in a control:
-
Select the Underline check box on the Font tab page of the control's property page, or select the control and then click the U button on the StyleBar.
To underline a text object in a graph control:
-
Display the Text tab page of the graph control's Properties view and select the desired text object from the Text Object list.
-
Select the Underline check box on the Text tab page.
In scripts
The Underline property takes a boolean value. The following example underlines the text in a StaticText control:
st_1.Underline = TRUE
This example underlines the label of the Value axis of a graph control:
gr_1.Values.LabelDispAttr.Underline = TRUE