List_box object
Posted: Sun Apr 14, 2013 11:47 am
Rem list_box object in function format. May be usefull in some app's.
Rem
Program slightly modified, see next posting
Rem
Program slightly modified, see next posting
Mr.Kibernetik software support
https://nitisara.ru/forum/
Indeed. The idea is that a selected item can be deselected again; but internally the item remained selected. I have changed that in the modified version.Mr. Kibernetik wrote:Very interesting code!
I have several comments:
1. You can safely write
IF BUTTON_PRESSED("ok") THEN
instead of
IF BUTTON_PRESSED("ok")=1 THEN
Yep, thanks
2. You can use GRAPHICS CLEAR x,x,x to clear screen instead of FILL RECT 0,0 TO ...
Thanks again, must read manual now and then![]()
Currently if you select city twice it becomes black color again.