Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple drag & drop operation
Message
 
 
To
05/06/2002 17:03:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00665152
Message ID:
00665226
Views:
21
Check file #9472 and file #9185 for a sample code.

>I am trying to program a drag & drop operation that will allow me to click on a record in a list control and drag it to a textbox control and have it set the textbox control's value to a value from that record.
>
>In my list controls mousedown method I have the this.drag command to start the drag. In my textbox dragdrop method I have this.value = tblJobTicket.JobNum to set the textbox's value property.
>
>The problem I am having is that when I click on a record and drag it to the textbox, the record pointer is not being moved until after the textbox's dragdrop event fires and therefore the textbox's value is not being set to the record that I just drug, but is being set to the record that was previously selected.
>
>Any help on this issue will be greatly appreciated.
>
>Thanks,
>
>Barry
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform