Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: Mouse Pointer as DragIcon, Is it possible?

$
0
0

Might I suggest that you're pursuing the wrong solution to the problem then?  Move the drag start out of the click event.  Have the click event note the position of the cursor when the user clicked.  Have the datawindow mousemove event check to see if the cursor has moved more than a threshold amount, and then only start the drag when the threshold amount has been exceeded.

 

There's an example of doing that on the anvil of time website:

 

http://anvil-of-time.com/wordpress/powerbuilder/powerbuilder-datawindow-dragdrop-rows-with-business-rules/


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>