P.S. Marco,

   You should do some type checking since it will GPF if the activecontrol is 
NOT a DBGrid:

If ActiveControl is TDBGrid Then
  (ActiveControl as TDBGRid).MyDBGridClick;

Dave

anomander1 <[EMAIL PROTECTED]> wrote:                               Thanks Dave,
 
 I have been looking for almost 3 hours in internet for this solution.
 I could not come up with the way i would search for this.
 And then you type it here and it looks so simple :)
 
 Thanks again.
 Marco
 
 
     
                               

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

[Non-text portions of this message have been removed]

Reply via email to