[REBOL] Re: Please urgently need help rebol/view simple gui
From: volker:nitsch:gmai:l at: 21-Dec-2005 17:46
On 12/21/05, Akram <akram-bmi.edu.my> wrote:
> Dear Rebol Expert,
> I'm sorry, I'm a newbie and not proficiently good in programming. I'm doing
> my school project using Rebol/core software. The machine will pan and tilt
> by adjusting 'panoffset' and 'tiltoffset' values below. My problem is how
> can I possible run the rebol and then 'show pop up' and adjust the values at
> the 'field of text' and confirm with 'ok' button. Could someone please help
> me to fix the problem or show me the way to do it. Below is the script;
>
> make integer! n: 0
>
> comment {change these values}
> make decimal! panoffset: 0.0
> make decimal! tiltoffset: 0.0
>
n: 0
comment {change these values}
panoffset: 0.0
tiltoffset: 0.0
inform layout[
label "pan" pan-face: field form panoffset
label "tilt" tilt-face: field form tiltoffset
button "Ok" [
panoffset: get-face pan-face
tiltoffset: get-face tilt-face
hide-popup
]
button "cancel" [hide-popup]
]
?? panoffset
?? tiltoffset
> Thanks in advanced for the help and very much appreciated.
>
> Regards,
> Akram
> UniKL British Malaysian Institute,
> Malaysia
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
-Volker
Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem.
David
Wheeler