Hi

I have implemented some drag and drop with a TtntStringGrid.  I have 
drag mode set to dmManual and in OnMouseDown I call BeginDrag(False, 
10);   Everything works fine except for a small cosmetic issue.

In my OnStartDrag I assign a custom DragObject and this is where my 
problem appears.  The drag image of my drag object is displayed 
immediately (to the eye it happens OnMouseDown) whereas the drag cursor 
seems to take note of the threshold passed into BeginDrag().  If I set a 
silly threshold of 50 pixels my dragimage appears immediately at the 
point of mousedown (without a drag cursor) and stays there until the 50 
pixes have been moved and then 'jumps' to the new mouse position (with a 
drag cursor) and moves with the mouse.

I've googled around and found some reference to something similar 
existing in Delphi 2 but I can't find a workaround.  I've taken a look 
at the code for BeginDrag but to be honest, it's beyond me.

Can anyone offer any suggestions? I can put together a demo program if 
necessary to show the effect.

Cheers
Dave



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to