TextControl Class (Typed) |
|
Namespace: XSharp.VO.SDK
The TextControl type exposes the following members.
| Name | Description | |
|---|---|---|
| TextControl |
Create a text control.
|
| Name | Description | |
|---|---|---|
| Caption |
The string representing the caption of the text control.
(Overrides Caption.) | |
| ControlFont |
The font used to draw the text in the control.
| |
| ControlType | (Overrides ControlType.) | |
| CurrentText |
A string representing the text currently displayed in a text control. For edit controls, including the edit box associated with simple and drop-down combo boxes, it contains the text currently appearing in the edit box. For fixed icon and group box controls, TextControl:CurrentText contains NULL_STRING.
| |
| Length |
A numeric value representing the number of characters in the control.
| |
| TextColor |
The color used to draw the text in the control. (Refer to the Color:Init() method for details on specifying a color object.)
| |
| TextValue |
A string representing the value held in the control.
(Overrides TextValue.) |
| Name | Description | |
|---|---|---|
| Create |
Creates the underlying Win32 control
(Overrides Create.) | |
| Destroy |
Provide a method to de-instantiate any TextControl.Destroy object.
(Overrides Destroy.) | |
| Font |
Change the current font of the text control.
| |
| Ime |
Return and optionally set whether Input Method Editor is enabled for this text control.
| |
| OnHandleCreated | (Overrides OnHandleCreated(Object, EventArgs).) | |
| OnHandleDestroyed | (Overrides OnHandleDestroyed(Object, EventArgs).) | |
| RemoveEditBalloonTip |
Removes the current BallonTip from the Edit control that has inherited from this class.
| |
| SetCueBanner(String) |
Add a cue banner to the Edit control that has inherited from this class.
| |
| SetCueBanner(String, IntPtr) | ||
| ShowEditBalloonTip |
Add a BallonTip to the Edit control that has inherited from this class.
| |
| winSendMessage |
1METHOD ButtonClick(aControlEvent) CLASS TopAppWindow 2oPB := oControlEvent:Control 3oPB:TextColor := Color{COLORRED}