Changing text
Contents
You can specify the text and text display characteristics for a
control in the Properties view for the control. You can also use the
Window painter StyleBar to change:
-
The text itself
-
The font, point size, and characteristics such as bold
-
The alignment of text within the control
CommandButton text
Text in CommandButtons is always center aligned.
The default text for most controls that have a text property is
none. To display an empty StaticText or SingleLineEdit control, clear
the Text box in the Properties view or the StyleBar.
When you add text to a control’s text property, the width of the
control changes automatically to accommodate the text as you type it in
the StyleBar, or when you tab off the Text box in the Properties
view.
To change text properties of controls:
-
Select one or more controls whose properties you want to
change. -
Specify changes in the Font tab page in the Properties view,
or specify changes using the StyleBar.