Tap_And_Hold_Indicator  TextCase

Chapter 3: Property Descriptions and Usage

Text

Applies to

Menus and controls that display text

SMSMessage objects

Description

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.

Usage


In a painter (menu objects and text controls)

StepsTo specify text to be displayed:

  1. Enter the desired text in the Text field on the General page of the objects’ Properties view.


In scripts (menu objects and text controls)

The Text property takes a string value. The following line specifies that the text of a check box is Male.

cb_1.Text = "Male"


In scripts (SMSMessage objects)

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. TextCase

View this book as PDF