Print Page | Close Window

Resizing tabs in Tabbed Control

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=12195
Printed Date: 23 June 2025 at 8:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Resizing tabs in Tabbed Control
Posted By: csunita
Subject: Resizing tabs in Tabbed Control
Date Posted: 18 September 2008 at 12:30pm
I have a tabbed control derived from CXTResizeDialog. The tabs are derived from CFormView. They are of different sizes.
When the tab control comes up, every time the user changes tabs, I want the tab to be displayed in its original size.
Right now, all the tabs are displayed in a rectangle that is larger than the size of the largest tab along with some padding!
 
Thanks.



Replies:
Posted By: aznodak
Date Posted: 18 December 2008 at 11:20am

I have a similar problem, I have several CXTResizeFormView derived views added to a CXTTabCtrl tab control. The formviews come up fine. The tab control is part of a formview itself. The tab control resizes with the parent form view, but the child form views of the tab control do not resize. The tab control seems to be sized to the largest child view added. I want the active child view of the tab control to resize to fit the parent tabl control. I have not found an codejock example or forum references that has helped me identify why the child form views are not resizing. Besides deriving from the proper *Resize* control and setting up SetResize in the OnInitUpdate for each form view, I don't know what I'm missing. I know this is not enought to debug anything, so all I'm looking for at this point is suggesting other codejock resizing related function calls that might be applicable. I'm hope to get some code snippets later on.




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