Print Page | Close Window

Tab-order in property-grid BindSample

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=2335
Printed Date: 27 November 2024 at 4:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tab-order in property-grid BindSample
Posted By: farr02
Subject: Tab-order in property-grid BindSample
Date Posted: 07 June 2005 at 6:29am
Hello,

is it possible to change the tab-order in the above-mentioned example?
Currently it is property-tree -> OK -> Cancel -> property-grid and I would like
to change it to property-tree -> property-grid -> OK -> Cancel.

I use XTP 9.601, WinXP, Visual Studio 6.0.

Best regards
   Holger




Replies:
Posted By: Oleg
Date Posted: 08 June 2005 at 11:51pm

call in the end of CPropertiesDlg::OnInitDialog

 m_wndGridGeneral.SetWindowPos(&m_wndProperties, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
 m_wndGridDesigner.SetWindowPos(&m_wndProperties, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
 m_wndGridBuild.SetWindowPos(&m_wndProperties, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: farr02
Date Posted: 09 June 2005 at 7:18am
Thanks Oleg, it works:-)

BTW can you give me a hint on how I can create a splitter between the property-tree and the property-grid? AFAIK the XTP-splitters only work with views and not with dialog-controls directly (or do I missed an example?).

Best regards,
   Holger



Posted By: farr02
Date Posted: 20 June 2005 at 5:10am
Regarding the splitter I finally ended up using one of the numerous splitter classes for dialogs posted to http://www.codeguru.com/Cpp/W-D/dislog/ - codeguru.com and http://www.codeproject.com/splitter - codeproject.com .

Bye
   Holger




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net