Functions | |
| openrack (filename) | |
| Open a rack. | |
| saverack (filename) | |
| Save actual rack. | |
| hidemain () | |
| Hide main (editor) window. | |
| showmain () | |
| Show the main (editor) window. | |
| capturerack (filename, quality) | |
| Save rack as jpeg image on disk. | |
| loadimage (control, filename) | |
| Load an image in an image control on rack. | |
| ddown_settext (control, text) | |
| Set items of a drop down control on rack. | |
| ddown_gettext (control) | |
| Get selected item of a drop down control. | |
| setvisible (control, state) | |
| Set visibility of a control on rack window. | |
|
||||||||||||
|
Save rack as jpeg image on disk. Save visible rack in filename file in jpeg format. quality must be a number between 1 and 100. For good quality (but bigger jpeg files) specify a big quality factor.
capturerack("snapshot.jpg",75) |
|
|
Get selected item of a drop down control. Return selected item of a drop down control on rack window.
item=ddown_gettext("ddown1") |
|
||||||||||||
|
Set items of a drop down control on rack. Set items of a drop down control on rack. Items must be specified as text string, delimited with CRLF sequences.
ddown_settext("ddown1","item1"&chr(13)&chr10&"item2"&chr(13)&chr10) |
|
|
Hide main (editor) window. Hide main (editor) window. Not needed in the standalone. |
|
||||||||||||
|
Load an image in an image control on rack. Loads an image into an image component on the rack.
|
|
|
Open a rack.
Opens the rack contained in filename.
openrack("nicerack.res") |
|
|
Save actual rack. Save actual rack, including control states and values.
|
|
||||||||||||
|
Set visibility of a control on rack window. Set visibility of a control on rack window, acording to state parameter, 0-invisible, 1-visible.
|
|
|
Show the main (editor) window. Show the main (editor) window. Disabled if Easy Control run standalone. |