by Slider (19 Submissions)
Category: VB function enhancement
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (21 Votes)
The wrapper is designed to take control of all associated containers/controls in three easy steps:- 1. Hook a TabStrip control; 2. assign controls to tabs; & 3. set how the controls will be managed - the wrapper will do the rest! Other features include container management, automatic positioning (center, top-left, bottom right, etc...) and auto-Fit.
The wrapper makes use of object pointers (weak object references) to aviod circular references. All code is cleanly formatted and well commented.
The included program demonstrates how easy the wrapper class is to use - Take note of the placement of the different types of associated controls and how the wrapper fixes up their containers, visibility and positioning on start-up. If you use the TabStrip control or have wanted to, then this is for you!
Download cTabStrip 'Container Management' Class wrapper (75 KB)