Text property


Available for Window, MDIWindow, DialogBox, Static, Edit, Group, Button, Check, Radio, List, Combo and Picture objects.

Read/Write at design time
Read/Write at run time

Specifies the text string for an object. For window objects, this property contains the text appearing in their caption (title bar). For List and Combo objects (see REMARKS). For any other control object, this property is the text appearing in its client area.


REMARKS
: For List and Combo objects, this property is read-only at run time and returns the text of the selected string (if any). See the GetText and SetText methods.