Button Class (Typed)
|
|
Provide the base class from which all X# buttons are subclassed.
Inheritance Hierarchy
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.24 GA
Syntax[TypesChangedAttribute]
CLASS Button INHERIT TextControl
[TypesChangedAttribute]
public class Button : TextControl
Request Example
View SourceThe Button type exposes the following members.
Constructors|
| Name | Description |
 | Button |
Construct a button.
|
Top
Properties|
| Name | Description |
 | Caption |
A string representing the text that is displayed adjacent to a check box or radio button, or on top of a push button. The Button:Caption assign also changes Button:CurrentText for the button.
(Overrides Caption.) |
 | CurrentText |
For check boxes, push buttons, and radio buttons, Button:CurrentText contains NULL_STRING.
(Overrides CurrentText.) |
 | Image |
An image object representing the icon or bitmap image that is displayed on a button.
|
Top
Functions
Remarks
You can also use the ControlWindow class to create buttons with behaviors and/or appearances that differ from standard buttons. Using ControlWindow permits controls to trap events. Typical uses might include customizing the appearance of controls (like changing the background and foreground colors) or modifying the key handling.
See Also