Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

doubleclick on text-list

 [1/3] from: kgozlin:gis:pl at: 4-Dec-2001 13:17


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

 [2/3] from: ammonjohnson::yahoo at: 4-Dec-2001 20:00


Hi Karol, This is actually becoming quite a common newbie question. The fact is thought that REBOL isn't quite like any other Programming/Scripting language you have used. There is no default double-click support, but I can send you a function that checks for double click. As far as for drag'n'drop, it is actually not been done with a text-list (AFAIK), but that doesn't mean it can't be done. The reality is (IMHO) that REBOL is so different than other languages you really need to get a handle on some of the basics first. First off I would go read the core users manual (http://rebol.com/docs/core23/rebolcore.html) particularly on Objects (section 10), REBOL's graphical interface is based on objects. Also a good read would be (http://rebol.com/docs/view-guide.html) although that isn't very in depth it will give you a start on the Graphical end of it. & this (http://rebol.com/how-to/feel.html) will get you started on the User Interface Events. More How-To's are avalable at (http://rebol.com/how-to.html) HTH Ammon

 [3/3] from: ammonjohnson:y:ahoo at: 5-Dec-2001 18:13


Ok, so I didn't quite tell the truth, there is default Double-Click Support, but I didn't find it on my first attempt at such a thing so I forgot it existed. See Romano's reply for more detail. Enjoy!! Ammon