|
|
|
win.button :x :y :w :h :caption
defines a Windows Button.
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
caption: text which appears inside the button
Note: buttons 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 button is created.
Definition:
to win.button :x :y :w :h :caption local "type "handle make "type "button make "handle dll.win.wincreatebutton to ondrawimage end to hide output dll.win.winhide end to show output dll.win.winshow end to enable output dll.win.winenable end to disable output dll.win.windisable end end |
|
|
|