Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container not receiving click/selection if dragged immed
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01131921
Message ID:
01131933
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Bhavbhuti,
it sounds like you have too much going on in the form(s). Check if you have any code in the form Refresh or the refresh of any object. You might also try using SET COVERAGE in the click or mousedown event to see what code is being run and how long each part takes to run.

My first thought is that some action (code) is running when you click that is eating up a lot of processing. Remember that VFP is single thread and it will sometimes run off on one thread while you are expecting something else to happen.
HTH

John.

>Hi all
>
>I have recently developed a custom calender class based on containers. In essence I have the stuff working. I am able to click and then drag and drop items (containers) from one day into another day (bigger container).
>
>The issues crop when I do a mousedown and start the drag immediately, then the drag never happens. But if I patiently click the item and then initiate the drag it works perfectly.
>
>Similarly I have data coming in from a TreeView. When I have clicked a child node and I do a drag-drop it works but if the user is in a hurry and opens the tree branch and then in a rush mouse downs on a child node and drag onto the calender class the detail that is returned is of the parent node rather than the child node which was dragged.
>
>Please advise if there are any options or methods I can use to get the stuff working for immediate drags.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform