OWBasic for Pocketviewer

Home INTRO Group GRAPHIC Alphabetical Index

Querying A Scroll Bar

SBTOUCH%(SCRBAR%[])

SBTOUCH checks whether the scroll bar SCRBAR was touched. If the position has changed, the new position is written to SCRBAR[0], the scroll bar is drawn and the function returns 1. If a button was pressed, the function returns 1 for the Up and 2 for the Down button. If nothing was changed, 0 is returned.

SBDRAW and SBTOUCH replace the OSL functions GUI_SCR and GUI_QSCR!() and are totally compatible with them.


  • SBDRAW - Drawing A Scroll Bar
Home INTRO Group GRAPHIC Alphabetical Index