07.05.2015 Views

Download - True BASIC

Download - True BASIC

Download - True BASIC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

578 <strong>True</strong> <strong>BASIC</strong> Language System<br />

TC_GRAPH_SETIMAGE (gid, filename$, adjustflag) S <strong>True</strong>Ctrl Ch 22<br />

sets and displays an image from a file<br />

TC_GRAPH_SETIMAGEFROMBOX (cid, boxstring$) S <strong>True</strong>Ctrl Ch 14, 22<br />

sets a graphical image from a box keep string<br />

TC_GRAPH_SETIMAGEFROMFILE (cid, filename$, filetype$, adjustflag) S <strong>True</strong>Ctrl Ch 14, 22<br />

sets a graphical image from a file (similar to TC_GRAPH_SETIMAGE)<br />

TC_GRAPH_SETPEN (gid, width, color, style$, pattern$) S <strong>True</strong>Ctrl Ch 14, 22<br />

sets the pen properties for a graphical object<br />

TC_GRAPH_SETPOLY (gid, points(,)) S <strong>True</strong>Ctrl Ch 14, 22<br />

sets the points for a polyline or polygon<br />

TC_GRAPH_SETROUNDRECT (gid, owidth, oheight) S <strong>True</strong>Ctrl Ch 14, 22<br />

sets the curvature for a rounded rectangle<br />

TC_GRAPH_SHIFT (gid, deltax, deltay) S <strong>True</strong>Ctrl Ch 22<br />

moves a graphical object<br />

TC_GROUPBOX_CREATE (cid, title$, lft, rgt, btm, top) S <strong>True</strong>Ctrl Ch 14, 22<br />

creates a group box with title<br />

TC_INIT S <strong>True</strong>Ctrl Ch 14, 22<br />

activates event handling, required by <strong>True</strong> Controls<br />

TC_LISTBOX_CREATE (cid, mode$(), lft, rgt, btm, top) S <strong>True</strong>Ctrl Ch 14, 22<br />

creates a selection list box; specify entries with TC_SetList<br />

TC_LISTBOX_GET (cid, selection()) S <strong>True</strong>Ctrl Ch 14, 22<br />

returns all currently selected element positions<br />

TC_LISTBOX_SET (cid, selection) S <strong>True</strong>Ctrl Ch 14, 22<br />

selects a specified element in a list box (use TC_SetList to enter elements)<br />

TC_LISTBTN_CREATE (cid, text$(), lft, rgt, btm, top) S <strong>True</strong>Ctrl Ch 14, 22<br />

creates a list button with scrollable text<br />

TC_LISTBTN_GET (cid, selection) S <strong>True</strong>Ctrl Ch 14, 22<br />

returns currently selected list element<br />

TC_LISTBTN_SET (cid, selection) S <strong>True</strong>Ctrl Ch 14, 22<br />

selects currently selected list element<br />

TC_LISTEDIT_CREATE (cid, text$(), lft, rgt, btm, top) S <strong>True</strong>Ctrl Ch 14, 22<br />

creates a list edit button with scrollable text<br />

TC_LISTEDIT_GET (cid, text$) S <strong>True</strong>Ctrl Ch 14, 22<br />

returns current text in edit field<br />

TC_LISTEDIT_SET (cid, text$) S <strong>True</strong>Ctrl Ch 14, 22<br />

selects current text in edit field<br />

TC_MENU_ADDITEM (wid, menu, text$) S <strong>True</strong>Ctrl Ch 14, 22<br />

adds a menu item to the end of a menu<br />

TC_MENU_ADDMENU (wid, menu$()) S <strong>True</strong>Ctrl Ch 14, 22<br />

adds new menu at end of current menu structure<br />

TC_MENU_DELITEM (wid, menu, item) S <strong>True</strong>Ctrl Ch 14, 22<br />

deletes a specific menu item from a menu<br />

TC_MENU_DELMENU (wid) S <strong>True</strong>Ctrl Ch 14, 22<br />

deletes last menu of existing menu structure

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!