I'm using a normal list, but I imagine it's very similar - I capture the
event and then usually execute some function on a single click:
from: text 160x20 feel [
detect: func [face event] [
if event/type = 'down [
print "You single-clicked me!"
]
]
]
Look up the other mouse events, I think there's a double click one on the
page Ammon sent you.
-Jon
----- Original Message -----
From: karol <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 5:38 AM
Subject: [REBOL] double-click on text-list
> Hi List!
> I want to write a simple program with GUI using VID and I have some
> question about it :
> how to make text-list react on doubleclick?
> and how to move items on text-list using drag and drop?
> maybe someone did it and source is available? I just don't know where to
> start
> thanks in advance
> Karol
>
>
>
> --
> 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.