dreadful behaviour

2005-09-29 11:24:19 PM
i have a form A with a TDBGrid in it and others components. A button open a
new form B with another tdbgrid where user can choice an element with a
doubleclick on the row in interest.
All works fine but:
when doubleclicking on the B form it closes automatically and the A form
Now, if the mouse is exactly on the title of the tdbgrid of A an
OnTitleClick is generated!!!
So, the same doubleclick on B close this form and launch the OnTitleClick
event on A.
It's obvious that this second spurious event 'can make' and often 'make'
unwanted action.
There is a way to avoid this terrific behaviour?
Thank you.