Menus and controls that display text
SMSMessage objects
For menu objects and text controls The Text property specifies the text displayed in the menu object or control.
If a Menu item has a shortcut key (for example, F1 or Alt+a), Text includes the shortcut key. If the Text property of a Menu item is a single dash (-), the item displays as a separator (a horizontal line the width of the menu), and all other properties for the item are ignored.
For SMSMessage objects The Text property specifies the text data portion of the message. This value can be null.
To specify text to be displayed:
Enter the desired text in the Text field on the General page of the objects’ Properties view.
The Text property takes a string value. The following line
specifies that the text of a check box is Male
.
cb_1.Text = "Male"
The following line specifies that the text of an SMSMessage
object is Hello World
.
mySmsMsg.Text = "Hello World"
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |