Date looks fine to me. Must be your computer. Fahri, instead of dbgrid you might consider using a tlistview in Report format. For view-only grids this is much less troublesome. And you can attach an object to the data property of each row.
Jeremy -----Original Message----- From: advanced_delphi@yahoogroups.com on behalf of David Smith Sent: Mon 2/25/2008 9:06 AM To: advanced_delphi@yahoogroups.com Subject: Re: [advanced_delphi] dbgrid focus error Please check the date on your computer. I had to search for several mins. to find this and delete it in all of my yahoo emails (it was like.. 556!). Dave P.S. Use secondary forms instead of MDI. Fahri Reza <[EMAIL PROTECTED]> wrote: yup, this problem can be reproduced... try this: procedure TForm0.FormDeactivate(Sender: TObject); begin PostMessage(Handle,WM_ACTIVATE,WA_INACTIVE,0 ); end; _____________________ FIreHAzaR:-D West Java, Indonesia word of the day: usum hujan euy... ----- Original Message ----- From: reynaldi81 Subject: [advanced_delphi] dbgrid focus error hi all. i have this strange error. i have a mdiform and mdichild form. i put a treeview in mdiform and dbgrid in mdichild. when dbgrid has focus, i click the treeview. then when i try to go back to dbgrid, dbgrid seems unable to gain focus. does anyone have this problem? sorry for my english. thanks for any comment. --------------------------------- Never miss a thing. Make Yahoo your homepage.
<<winmail.dat>>