I use treeviews and mdi extensively, and have not seen this problem. However, I never use dbgrid (g). Still, my gut feeling is that this is not a dbgrid problem, but something in your code.
Jeremy -----Original Message----- From: advanced_delphi@yahoogroups.com on behalf of reynaldi81 Sent: Mon 1/21/2008 10:02 AM To: advanced_delphi@yahoogroups.com 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.
<<winmail.dat>>