Push Button Controls (Magic xpa 2.x)
Use this control when you want to trigger an action when the end user clicks it.
Push buttons are used as an alternative means of invoking a Magic xpa internal event, such as the Zoom internal event. The content of the Push button property becomes the button label. You specify the Push button's internal event in the Raise Event property in the Control Properties sheet. Choose an internal event from the Event list.
At runtime, pushing the button triggers a Zoom internal event that then causes the Call Task, Call Program, or triggers an event.
Other examples for Push buttons are the OK, Cancel, and Help buttons. These buttons can issue OK, Cancel, and Help internal events, respectively. The internal events set by the buttons will be captured by the Magic xpa programs according to the program context.
You can use the default Windows Push button design, or design your own Push button controls by setting the Button Style property of the Control Properties sheet box to Yes.
Note:
|
When the control size on the form is different than the image size, the image may look distorted since it has been stretched. In order to have a more accurate control size, it is recommended to use a high value in the horizontal and vertical factors and then use Fit to Size option in the Command palette.
|
The GUI Push Button control properties are listed by categories:
Model
Details
Input
Appearance
Mobile
Parking
Navigation
Browser Push Button Control Properties
How Do I Allow Keyboard Navigation to a Push Button?
How Do I Define a Hot Track Effect for Push Buttons?