Rev2ß, Win <-> Linux: Drag&Drop, File selector

claus at dreischer.de claus at dreischer.de
Mon Feb 24 11:48:01 EST 2003


Hi,

is Drag & Drop under Linux with the new beta of RunRev 2 known not to
work?

As a beginner i tried to use the dictionary to help me implement drag&drop
on a windows 2000 box. It works.
Code of the drag&drop field is:

   on dragEnter
     set acceptDrop to true
   end dragEnter

   on dragDrop 
     if me is not empty then put CR after me
     put the dragData["files"] after me
     send make_string    -- starts reformating 
   end dragDrop

The same does not work with a linux box(SUSE 8, KDE 3.0.4).
Is drag&drop on linux special, or is it just not implemented in the
actual
beta of RunRev 2?


Next question:
The following fileselector works perfectly on a windows box:

   answer file "select the VHDL files to include" with filter "VHDL files,
*.vhdl;*.vhd, all files, *.*"

The same on the linux (again SUSE 8, KDE 3.0.4) box gives a fileselector
with 
the wrong File Filter:
   /home/claus/VHDL files, *.vhdl;*.vhd, all files, *.*

It should look like:
   *.vhdl
or something like that.

With the above File Filter, no file can be selected.
Is this a to-be-implemented-thing too?

Regards,
 Claus.
 



More information about the use-livecode mailing list