Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jan : Geting focus on mainwindow...

www.cryer.info
Managed Newsgroup Archive

Geting focus on mainwindow...

Subject:Geting focus on mainwindow...
Posted by:"Roy M Klever" (roy_m_klev..@rmklever.com)
Date:Sat, 07 Jan 2006 20:38:00 +0100

Hi,

I am not sure where to put this question so I put it here...

I have a treeview component on my mainform, the user can drag
images(files) to the treeview. If they do a new item will be added to
the treeview and I set the item in editmode so the user can give it a
new name. My problem is that my form do not get the focus so the node
edit is not available(it have the cursor blinking but I can not write
anything) before I press the forms titlebar. I have tried setting the
focus to the mainform, the tree and others components before setting the
node in edit mode but to no avail.


Does someone have a solution?


Kind Regards
Roy Magne Klever
www.rmklever.com

Glossary

File Types

Replies:

www.cryer.info
Managed Newsgroup Archive