Print Page | Close Window

XTPTabClientWnd & Show Tab item

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=993
Printed Date: 29 May 2024 at 8:02pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTPTabClientWnd & Show Tab item
Posted By: jimmy
Subject: XTPTabClientWnd & Show Tab item
Date Posted: 28 July 2004 at 8:35am
Hello,

After append many view on a CXTPTabClientWnd, only a small part of the last TabItem is visible.
Only after click scroll right the complete item is visible ?

  Jimmy




Replies:
Posted By: jimmy
Date Posted: 29 July 2004 at 2:02am

If i add new View, TabClientWnd will autom. add a TabItem, but only a part is on creation visible ?
Solution to show the complete TabItem ?

  Jimmy


Posted By: SuperMario
Date Posted: 22 October 2004 at 10:44am
You can try to change the Tab Layout - XTPTabLayoutStyle.  Take a look at the Tab Manager sample.

enum XTPTabLayoutStyle
{
    xtpTabLayoutAutoSize,
    xtpTabLayoutSizeToFit,
    xtpTabLayoutFixed,
    xtpTabLayoutCompressed,
};


Posted By: jimmy
Date Posted: 25 October 2004 at 3:21am
Hello,

some problem was, that at time of creation, the window has no name.
So the TabWidth is small. After a short time (or some messages later the name is set).
And the TabWidth is resize but not Reposition.
Now we set at creationtime the windowname to many space.
It work, but it is not beautiful.

Is this a bug ?
After change name, resize(ok) & reposition.

greetings
    Jimmy


Posted By: jimmy
Date Posted: 25 October 2004 at 3:23am
Also draw a simple vertical borderline between tab & Left/right arrow.

    Jimmy



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