GUI component interaction: Difference between revisions
Content added Content deleted
Line 1,049: | Line 1,049: | ||
global function Random() |
global function Random() |
||
------------------------ |
------------------------ |
||
if Question(win,"Random","Click OK for a random number",, |
if Question(win,"Random","Click OK for a random number",,GTK_BUTTONS_OK_CANCEL) = MB_OK then |
||
set("Input.value",rand(1000)) |
set("Input.value",rand(1000)) |
||
end if |
end if |