VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



ucXTab Graphical Tab UserControl

by TerriTop (17 Submissions)
Category: Custom Controls/Forms/Menus
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (37 Votes)

ucXTab UserControl is a self-contained (single file), self-subclassed (uses Paul Caton’s subclassing thunk) version of the XTab control submitted to PCS by Neeraj Agrawal. This control contains all of the key features of the original XTab control, but has been extensively reworked to utilize all GDI API drawing and updated subclassing techniques. ucXTab contains 5 tab themes (Windows 9x, Windows XP, VisualStudio, Rounded, and Galaxy), and two tab styles (traditional tabs, property page) which are fully customizable. In addition, key supported features are: dynamic tab addition/removal, adjustable tab heights, mouse-wheel tab scrolling, 14 customizable color properties, tab images, tab image alignment, ImageList support, accelerator key support, and theme detection. The number of properties, methods and events are too extensive to list; however, most of these can be explored fully with the provided test harness. ---------------------------------------------------------------------Update 14Nov06 (v1.0.85) – Now supports dynamic tab Insertion, Removal, and dynamic control addition for ANY tab via InsertTab, RemoveTab, and AddControl methods, respectively. In addition, ucXTab now supports per tab ControlBoxes which allows the user to close individual tabs similar to IE7 & FireFox. In support of the new features are 7 additional events to track Enter, Exit, Hover, MouseDown and MouseUp for the ControlBox, along with Insert and Remove Tab events. Previously reported (and unreported) graphical bugs have been fixed, and the test harness extended to test the new features.
--------------------------------------------------------------------- Update 20Dec06 (v1.0.130) – Exposed support for dynamic Individual Tab Enable/Disable states, Updated Enabled property to paint the tab headers, body, and ControlBox correctly. Added TabOffset property to allow the developer to select the Left offset used for the “Tab” functionality. Added additional subclassing shut down support to handle host object closure prior to unsubclassing. Updated the test harness to illustrate the new functionality.
---------------------------------------------------------------------
Update 11Mar07 (v1.0.152) – Added support for the 3 native Luna theme colors (NormalColor [Blue], HomeStead [Olive Green], and Metallic [Silver]) under xThemeWinXP TabTheme. Added additional Enabled/Disabled painting refinements for both the UserControl and individual Tabs. Fixed minor ControlBox painting bug. Fixed ControlBoxExit event bug which incorrectly fired on MouseHover.

Enjoy, TerriTop

Rate ucXTab Graphical Tab UserControl

Download ucXTab Graphical Tab UserControl

Download ucXTab Graphical Tab UserControl (441 KB)

ucXTab Graphical Tab UserControl Comments

No comments have been posted about ucXTab Graphical Tab UserControl. Why not be the first to post a comment about ucXTab Graphical Tab UserControl.

Post your comment

Subject:
Message:
0/1000 characters