MButton
The MButton component is a button user can click.
Contents
Usage
Custom Icons
Use the Icon property to define a custom icon for an MButton control. The property expects the path to the icon file, which must be located inside the project folder.
You can also specify a position for the icon inside the button, and even decide whether the icon should have a shadow (default) or not.
Your icon will be displayed in a circle with a 18-pixel diameter, 36-pixel in case of HD devices.
Client-side Features
DOM Elements
The component generates the following client-side DOM elements:
- Wrapper (HTMLDivElement). Full web browser support. Access it with 
$("#ComponentName_outer").get()[0].- Main element (HTMLInputElement). Full web browser support. Access it with: 
$("#ComponentName").get()[0]. 
 - Main element (HTMLInputElement). Full web browser support. Access it with: 
 
Client-side Events
- Documented in the RPCL Reference.
 
Server-side Features
Properties, Methods and Events
- Documented in the RPCL Reference.
 
Help Resources
Tutorials
- Mobile Hello World (client and server)
 - Where It Was.
 
See Also
- Alternatives: Button (web applications).