|
|
|
win.listbox :x :y :w :h :items
defines Windows ListBox.
x: (integer) x-coordinate of the upper left corner of the button
y: (integer) y-coordinate of the upper left corner of the button
w: (integer) width of the button in pixels
h: (integer) height of the button in pixels
items: (list) list of items in the list box
Note: listbox position on the screen is relative to the upper left corner of the drawing area.
At the moment coordinates cannot be scaled, scrolled or modified after the listbox is created.
Definition:
to win.listbox :x :y :w :h :items local "type "handle make "type "listbox make "handle dll.win.wincreatelistbox to ondrawimage end to itemindex output dll.win.winlistboxselecteditem end to hide output dll.win.winhide end to show output dll.win.winshow end end |
|
|
|