Some more humour at my expense: I was trying to set up a Form's "On-Drag-Over" event handler to NOT Accept drops, so I set the event handler to execute "Enabled:= false". Many hours later I realised this should have been "Accept:= false" :-(
I knew this but was trying to create the code "all by myself" rather than copying from an example. This was a classic case of "seeing what you expect to see" rather than what's really there. Everything worked normally - dragging nodes inside the tree-view was fine. However as soon as I tried to drag a node out of the treeview over the form the program appeared to freeze - all it would do was beep at me - keyboard and mouse events were disabled (as I'd instructed :-( Cheers Giovanni ======================================================================== Giovanni Moretti | Institute of Information Sciences and Technology Senior Lecturer | Massey University, Palmerston North, New Zealand Computer Science | Ph 64-6-3505799x2474 == Fax 64-6-3502259 == ZL2BOI ------------------------------------------------------------------------ http://www-ist.massey.ac.nz/moretti mailto:[EMAIL PROTECTED] > -----Original Message----- > From: Neven MacEwan [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 11:11 AM > To: Multiple recipients of list delphi > Subject: Re: [DUG]: Main Form not responding > > > J > > Lost half a day to this *&^%%&& > Forms are TComponents > TCompoents have Actions > IDE is all clickety pointy > MainForm got assigned an Action (How you may ask F&*$ Knows) > Action was disabled > Grrrrrrr %^T%&% > > Okay you can all have a chuckle at my expense (BUT ONLY ONE) > > N > > ----- Original Message ----- > From: "Jeremy North" <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Monday, June 30, 2003 10:32 AM > Subject: Re: [DUG]: Main Form not responding > > > > > > > > > > > > > > Might be a bit late but load up winsight and have a look at the open > > windows. > > > > JED > > > > [EMAIL PROTECTED] wrote on 27/06/2003 06:07:39 AM: > > > > > Hi guys > > > > > > 3 days out from rollout and my main form in my app 'locks up' > > > on launch, when I pause it it is in the main 'idle' loop > but doesn't > > > respond to mouse clicks though its calling process message > > > I thought there might be a dialog 'hidden' > > > behind it (is there are way I can tell?), There appears to only to > > > be one form (from the screen variable) > > > > > > > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error > please notify > > the [EMAIL PROTECTED] > > > > > -------------------------------------------------------------- > ------------ > - > > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > > -------------------------------------------------------------- > ------------- > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/