[REBOL] Re: The same FIELD, twice
From: cyphre:seznam:cz at: 30-Jul-2002 14:55
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