OWBasic Standard Library

Group GUI Home INTRO Alphabetical Index

Drawing a List

GUI_LIST LINES$[], cnt%, x%, y%, X2%, slines% [, obj%=-1]

This procedure draws the strings in LINES as a list at (x,y). The amount of strings to draw is given by cnt. X2 specifies the right border of the list. X2 is a variable parameter since GUI_LIST can adjust X2 according to the string length; it is needed for GUI_QLIST .
slines specifies whether the procedure should draw lines between the strings. The lowest bit decides whether there is a line between entry 1 and 2, the next one for entry 2 and 3 and so on.

If obj is >0, the element is registered in the AutoTouch table and can be queried by GUI_TOUCH.

Gruoup GUI Home INTRO Alphabetical Index