Codesnippets > DD-GUI

Combo positioning

<< < (2/2)

MrTAToad:
Here is some quick example code :


--- Code: (glbasic) ---LOCAL a$,a%

a$=""
FOR a%=1 TO 100
INC a$,a%+"|"
NEXT

DDgui_pushdialog(0,0,319,100)
DDgui_combo("a",LEFT$(a$,LEN(a$)-1),319-8,100-24)
WHILE TRUE
DDgui_show(FALSE)
SHOWSCREEN
WEND
--- End code ---

If run in 320 x 240 or so, you can see that the scrollbar area is partially off the screen

Navigation

[0] Message Index

[*] Previous page

Go to full version