help with focus
[1/3] from: russ::portone::com at: 26-Oct-2001 15:55
Hello,
Have been away from REBOL for quite a while, and just getting back into View.
I've checked everywhere, but cannot seem to find a direct answer to this
simple problem:
I am writing a simple chat program. User types in one face and when he
hits ENTER it appears in another (echo) face. Input from a TCP connection
also appears in that echo face (area).
Now, when input comes in from TCP the focus returns ok to the user-input
face/box (after displaying in the echo area). But when users type in their
text box and hit enter, focus changes to the echo area and NEVER RETURNS to
the user-input face/box... regardless how many "focus user-input" commands
I stick in or anything else I try!
Any suggestions how I can get the focus back to the box where the user
types after they hit enter for each line?? I must be missing something :)
Thanks,
Russ
[2/3] from: gchiu:compkarori at: 27-Oct-2001 9:58
> Any suggestions how I can get the focus back to the box
> where the user
> types after they hit enter for each line?? I must be
> missing something :)
where your talk area is named "talk"
deflag-face talk tabbed
My Rugby based chat program is at:
sites/compkarori/gorim2
--
Graham Chiu
[3/3] from: russ:portone at: 26-Oct-2001 16:38
EXACTLY what I needed Graham! Thanks for your help, as in the past :)
Russ!
At 04:58 PM 10/26/01, you wrote: