TextBox and RefEdit Members
Use the TextBox control to get text entries from a user. Use the RefEdit control to get a selected range from the user. In addition to the members listed for the general Control object, the TextBox and RefEdit controls have the following members. Key members (shown in bold) are covered in the following reference section:
|
AutoSize |
AutoTab |
AutoWordSelect |
|
BackColor |
BackStyle |
BorderColor |
|
BorderStyle |
CanPaste |
Copy |
|
|
CurTargetX |
CurX |
|
Cut( ) |
DragBehavior |
Enabled |
|
EnterFieldBehavior |
|
Font |
|
ForeColor |
HideSelection |
IMEMode |
|
|
|
Locked |
|
MaxLength |
MouseIcon |
MousePointer |
|
|
|
Paste |
|
|
SelectionMargin |
SelLength |
|
SelStart |
SelText |
SpecialEffect |
|
|
Text |
TextAlign |
|
TextLength |
Value |
|
The TextBox and RefEdit members are a subset of the ComboBox members, so see that object for those topics. See the previous section, "TabStrip Members,” for an example of loading files into a text box and using the MultiLine and ScrollBar properties. Several TextBox and RefEdit members that are not found in the ComboBox control are covered here.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access