Hi Philippe,
Is this what you wanted(watch out line breaks)?
<code>
view l: layout [
fl1: field with [
feel: make feel [
engage: func [face act event] compose [(copy second get in ctx-text/edit
'engage)
if system/view/focal-face = face/self [
fl2/text: copy fl1/text
show fl2
]
]
]
]
fl2: field with [
feel: make feel [
engage: func [face act event] compose [(copy second get in ctx-text/edit
'engage)
if system/view/focal-face = face/self [
fl1/text: copy fl2/text
show fl1
]
]
]
]
]
</code>
regards,
Cyphre
----- Original Message -----
From: "Philippe Oehler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 1:01 PM
Subject: [REBOL] The same FIELD, twice
> Hey,
>
> i need to have the same field two times in my VID 'window.
>
> I mean i want when something is done to the first one is done to the
second,
> too.. and it's not only the same content (when the user add some
characters
> to the field, but also when the user correct, or click between the
> differents characters in the content of the field..
>
> I thought that maybe giving the same name to 2 different fields could
> resolve that, but it's not the case.. Someone has an idea ?
>
> Just one remark : my second one is without a background.... and that's the
> only difference between them.
>
> Philippe
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.