|
Toolbox methods
Toolbox objects (windows, menus,...) are manipulated by routines known as methods. AppBasic applications automatically load a BASIC library containing procedural equivalents (BASIC veneers) for every method listed in the Toolbox guide. For example, the procedure call
PROCMenu_SetTick(object,component,Tick)
will place a tick against a menu-entry (or remove it). It is equivalent to the SYS call
SYS &44EC6,,object,0,component,Tick
It is up to the user whether to use SYS or PROC calls. The definitions of any unused library procedures are removed when the application is compressed.
Writing Toolbox methods in an editor window
Selecting the blue pencil icon (in a method's entry-page) writes the procedure call at the caret. Selecting the green pencil icon writes the underlying SYS call.
|
|