Print Page | Close Window

TabControlPage as Container for Form

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7815
Printed Date: 16 November 2024 at 9:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabControlPage as Container for Form
Posted By: Pablo46
Subject: TabControlPage as Container for Form
Date Posted: 16 August 2007 at 11:08am
Is it possible to use the TabControlPage as a container for a Form in VB6?
(as in the DockingPane and TaskPanel)
 
Anyone done this and could supply a sample code snippet?
 
Thanks



Replies:
Posted By: Pablo46
Date Posted: 17 August 2007 at 9:41am
Thanks Support for the Solution - Posted here for others:-
 
Dim x As TabControlItem
Set TabControl.Icons = Nothing
Set x = TabControl.InsertItem(4, "This is a Form", frmForm.hWnd, 0)
x.Selected = True



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