Welcome to Clarion Community Sign in | Join | Faq

Clarion 6 - General

Started by dEraCh2000 at 08-15-2008 1:19 AM. Topic has 1 replies.

Print Search
Sort Posts:    
   08-15-2008, 1:19 AM
dEraCh2000 is not online. Last active: 10/14/2008 4:49:41 PM dEraCh2000



Top 50 Posts
Joined on 04-30-2008
Sarajevo, B&H
Posts 11
Drag and Drop
Reply Quote

Hello,

I'm trying to use the drag and drop functionality. I'm using a listbox and  acouple of regions. The problem is, when I start to drag an item from the listbox and then use cursor key to scroll down(or up) the droped item is not the one  I draged, it's the currently selected one in the listbox.

Is there a way to prevent this?

Kind regards

Armin   

 


   Report 
   08-15-2008, 5:52 AM
Tony Tetley is not online. Last active: 11/20/2008 1:04:35 PM Tony Tetley



Top 10 Posts
Joined on 10-25-2005
Missouri, USA
Posts 80
Re: Drag and Drop
Reply Quote
Armin,

You need to save the row when the drag starts.  Something like:

    OF EVENT:Drag
      DragFromRow = Choice(?Browse:1)

If you want to know what row you are on when the drop occurs use something like this:

    OF EVENT:Drop
      DragToRow = ?Browse:1{PropList:MouseUpRow}

HTH,
Tony

   Report 
Clarion Communi... » Clarion » Clarion 6 - Gen... » Drag and Drop

Powered by Community Server, by Telligent Systems