|
Pages: [1]
|
 |
|
Author
|
Topic: outputing a real time counter on the gui (Read 365 times)
|
|
leke
|
count: 0 counter: does [count: add count 1]
view layout [ button "TEST" [print counter]
] I'm trying to output the counter on the gui instead of the console, but can't figure out how. I can print out things like strings and words like NOW using TEXT, but i haven't been able to find out much on how to print results from real time events (like the one above) without throwing alert signs on the screen. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
Gabriele
|
view layout [ disp: info button "TEST" [ disp/text: form counter show disp ] ]
|
|
|
|
|
Logged
|
|
|
|
|
leke
|
Thanks! I've prettified a bit... count: 0 counter: does [count: add count 1]
view layout [ disp: info "0" center bold font-size 50 font-color red 150x70 edge [color: black effect: none] button "TEST" [ disp/text: form counter show disp ] ] FACE STYLE -> info - http://www.rebol.com/how-to/fields.html
|
|
|
|
« Last Edit: November 19, 2007, 07:42:56 AM by leke »
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |