User Tools

Site Tools


built_in:togglebuttons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
built_in:togglebuttons [2015/03/08 10:02]
octazid completed
built_in:togglebuttons [2015/03/08 10:39]
octazid [Description]
Line 4: Line 4:
  
 ===== Description ===== ===== Description =====
-Create toggle buttons using the CreateToggle method of the app object:+Create toggle buttons using the **CreateToggle** method of the **[[built_in:app|app]]** object:
 <code>btn = app.CreateToggle( text, width, height, options );</code> <code>btn = app.CreateToggle( text, width, height, options );</code>
 You can allow the toggle button to auto-size by leaving out the dimensions or you can specify a **width** and **height** as decimal fractions of the screen's width and height. You can allow the toggle button to auto-size by leaving out the dimensions or you can specify a **width** and **height** as decimal fractions of the screen's width and height.
built_in/togglebuttons.txt ยท Last modified: 2015/03/22 21:23 (external edit)