[DUG]: trapping mouse down messages

2003-06-30 Thread Stephen Barker
I'm about to give up on this but maybe someone can help: I've got a complex form split into 3 regions each with a PageControl and loads of data aware components such as dbgrid, dbedit, dbcombo as well as labels etc. I want to know when the user has selected one of the 3 regions by clicking

RE: [DUG]: trapping mouse down messages

2003-06-30 Thread Witherden, Stephen
Dear Steve I know this may sound like a dumb suggestion but have you considered the OnEnter event? Stephen -Original Message- From: Stephen Barker [mailto:[EMAIL PROTECTED] Sent: Tuesday, 1 July 2003 10:53 a.m. To: Multiple recipients of list delphi Subject: [DUG]: trapping mouse

Re: [DUG]: trapping mouse down messages

2003-06-30 Thread Paul Mckenzie
]: trapping mouse down messages I'm about to give up on this but maybe someone can help: I've got a complex form split into 3 regions each with a PageControl and loads of data aware components such as dbgrid, dbedit, dbcombo as well as labels etc. I want to know when the user has selected one

Re: [DUG]: trapping mouse down messages

2003-06-30 Thread Chris Reynolds
Try the onEnter, onExit events on the background Tpanels. On Tue, 1 Jul 2003 10:53:19 +1200, Stephen Barker [EMAIL PROTECTED] wrote: I'm about to give up on this but maybe someone can help: I've got a complex form split into 3 regions each with a PageControl and loads of data aware components

RE: [DUG]: trapping mouse down messages

2003-06-30 Thread James Low
Title: RE: [DUG]: trapping mouse down messages Might be way of track, but a page control has an onenter event which I would imagine is fired when any of the components within one of its pages receive focus ... can you not use this event as the trigger of your color stuff? Other than that you