🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.borland-delphi
5 messages
5 total messages Started by Mike H Thu, 10 Nov 2005 14:33
Problems with Drag & Drop
#1465
Author: Mike H
Date: Thu, 10 Nov 2005 14:33
16 lines
2103 bytes
Hi,

Iam having problems with Delphi's drag & drop procedues.  Depending on
whether you set the dragmode to auto or manual the 'BeginDrag' procedure
either sets the mouse.isdragging to true on normal mouse clicks or
alternatively, refuses to set it at all on starting a drag operation.  I
have a funny feeling I'm missing something with these procedures but have
reached a point where I am looking for alternative ways of handling drag &
drop in delphi code.

I would appreciate any pointers on using the Delphi drag & drop, or pointers
to alternative ways or components I can use in place of the standard
procedures.

Thanks for any assistance given.
Mike Henry
Re: Problems with Drag & Drop
#1466
Author: Jamie
Date: Fri, 11 Nov 2005 03:19
28 lines
2372 bytes
Mike H wrote:
> Hi,
> 
> Iam having problems with Delphi's drag & drop procedues.  Depending on
> whether you set the dragmode to auto or manual the 'BeginDrag' procedure
> either sets the mouse.isdragging to true on normal mouse clicks or
> alternatively, refuses to set it at all on starting a drag operation.  I
> have a funny feeling I'm missing something with these procedures but have
> reached a point where I am looking for alternative ways of handling drag &
> drop in delphi code.
> 
> I would appreciate any pointers on using the Delphi drag & drop, or pointers
> to alternative ways or components I can use in place of the standard
> procedures.
> 
> Thanks for any assistance given.
> Mike Henry
> 
> 
> 
> 
it is possible that you are handling the OnMouseClick event some where 
else and playing around with the cursor when you shouldn't be?


-- 
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5
Re: Problems with Drag & Drop
#1467
Author: Mike H
Date: Fri, 11 Nov 2005 05:34
45 lines
3097 bytes
Hi Jamie,
Thanks for your response. Iam using drag & drop as a feature within a grid 
component.  This component only offers OnMouseDown,Up,Move events and does 
not give access to OnMouseClick.  I am using BeginDrag within the 
OnMouseDown event.

I think you are possibly correct in that the grid is capturing the 
MouseClick event before I get access through the MouseDown event.  I dont 
know how to interupt that access and gain control over the mouse events.

Thanks again for your help.
Mike
"Jamie" <jamie_5_not_valid_after_5_Please@charter.net> wrote in message 
news:ojRcf.16602$7s1.10007@fe04.lga...
> Mike H wrote:
>> Hi,
>>
>> Iam having problems with Delphi's drag & drop procedues.  Depending on
>> whether you set the dragmode to auto or manual the 'BeginDrag' procedure
>> either sets the mouse.isdragging to true on normal mouse clicks or
>> alternatively, refuses to set it at all on starting a drag operation.  I
>> have a funny feeling I'm missing something with these procedures but have
>> reached a point where I am looking for alternative ways of handling drag 
>> &
>> drop in delphi code.
>>
>> I would appreciate any pointers on using the Delphi drag & drop, or 
>> pointers
>> to alternative ways or components I can use in place of the standard
>> procedures.
>>
>> Thanks for any assistance given.
>> Mike Henry
>>
>>
>>
>>
> it is possible that you are handling the OnMouseClick event some where 
> else and playing around with the cursor when you shouldn't be?
>
>
> -- 
> Real Programmers Do things like this.
> http://webpages.charter.net/jamie_5
> 
Re: Problems with Drag & Drop
#1468
Author: Riki Wiki Google
Date: Fri, 11 Nov 2005 21:51
10 lines
1912 bytes
Hoi Mike and Jamie

This newsgroup do not officially exist, for future postings use
newsgroup b.p.d.rtl.win32, and post directly to the borland news
server.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
Re: Problems with Drag & Drop
#1469
Author: Jamie
Date: Sat, 12 Nov 2005 04:52
21 lines
2475 bytes
Mike H wrote:

> Hi Jamie,
> Thanks for your response. Iam using drag & drop as a feature within a grid 
> component.  This component only offers OnMouseDown,Up,Move events and does 
> not give access to OnMouseClick.  I am using BeginDrag within the 
> OnMouseDown event.
> 
> I think you are possibly correct in that the grid is capturing the 
> MouseClick event before I get access through the MouseDown event.  I dont 
> know how to interupt that access and gain control over the mouse events.
> 
> Thanks again for your help.
> Mike

  if your working with a third party control it's very possible that
the cursor maybe getting reset! it that is the case then it was
poorly written. possibly code in the mouse move event to force the
cursor to remain at a constant.
  maybe you should perform your own test in the OnMouse move to detect
the current Mouse being used in the drag..
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads