|
« button cmenu »
Objects / checkbox
checkbox
checkbox(objnum,coord,text,option)
creates a checkbox button
Parameters
| objnum | object number |
| coord | column, row, width, height (optional) comma or @am delimited. If grid is used then column and row are not specified, and width is optional |
| text | button text |
| option | options comma or @am delimited |
Options
| bkg color | background color (see bkg) |
| disable | disabled |
| font [name size style color] | font specification (see font) |
| hide | invisible |
| left | text on the left |
| notab | do not stop by TAB |
| off | disabled |
| sizing CODE [base.objnum] | sizing specification (see sizing) |
| tooltip | emerging help |
Events
| OnCheck | The button has been checked
No data |
| OnEnter | 'Enter' key has been pressed
Data: dt<1> - text |
| OnUncheck | The button has been unchecked
No data |
Functions
| delobj | deletes object |
| do | executes an additional action |
| getcheck | returns a checkbox or a radio button state |
| getdt | returns additional data |
| modify | modifies object's properties |
| setcheck | checks/unchecks a checkbox or a radio |
| setfocus | sets focus to an object |
Using FlashGUI
« button cmenu »
|