Print Page | Close Window

CXTPPropertySheet not supporting stacked tabs?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=18152
Printed Date: 19 June 2025 at 11:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropertySheet not supporting stacked tabs?
Posted By: Tomasz
Subject: CXTPPropertySheet not supporting stacked tabs?
Date Posted: 01 April 2011 at 8:13am

Hello,

With upgrade to 15.0.2 I have noticed that CXTPCustomizeSheet is NO longer derived from CPropertySheet. Side effect is that it does not support stacked tabs anymore.

The reason is that CXTPCustomizeSheet is derived now from CXTPPropertySheet that derives straight from CDialog and Codejock forgot to implement stacked tab support in CXTPPropertySheet class. Original MFC class uses stacked tab (multiple rows) by default and it has EnableStackedTabs method. Codejock's CXTPPropertySheet misses that.

Question: how to enable stacked tabs in  CXTPPropertySheet ? (Hint it is not only a question of changing tab control style , but also resizing property dialog, MFC does that automatically, why Codejock can't ?)


Best regards,

Tomasz




Replies:
Posted By: Oleg
Date Posted: 05 April 2011 at 4:02am
Hello,

CXTPPropertyPageTabNavigator* pTabControl = (CXTPPropertyPageTabNavigator*)cs.GetNavigator();
pTabControl->SetLayoutStyle(xtpTabLayoutMultiRow);  


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


Posted By: Tomasz
Date Posted: 05 April 2011 at 4:14am

Great, thanks!

Tomasz




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