![]() |
Resizing tabs in Tabbed Control |
Post Reply ![]() |
Author | |
csunita ![]() Groupie ![]() Joined: 14 July 2008 Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
aznodak ![]() Newbie ![]() Joined: 26 July 2005 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |