OWBasic Standard Library

Group GUI Home INTRO Alphabetical Index

Drawing a Dropdown Menu

GUI_DMENU STR$[], SEL%, n%, x%, y%, x2%, lines% [, obj%=-1]

Draws a dropdown menu to the screen. STR[0] contains the title, STR[1]... contains the menu entries. SEL specifies the selected entry. If SEL is -1, the title is displayed.

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