General information
Category:
Coding, syntax & commands
Title:
Simple drag & drop operation
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only