Print Page | Close Window

SOLVED: Tab Control - closing tabs

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=11437
Printed Date: 16 November 2024 at 9:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Tab Control - closing tabs
Posted By: JasonG
Subject: SOLVED: Tab Control - closing tabs
Date Posted: 14 July 2008 at 12:54pm
I am using the following code to create a bunch of tabs on the top of a form. However, setting the tab to 'closable = true' does not produce an "X" icon or any other visible means of closing the tab. Am I missing something?

Dim C As TabControlItem    
Set C = TabControl1.InsertItem(3, "New", TabControlPage(1).hWnd, 2)
C.Closable = True




-------------
Product: Xtreme SuitePro (ActiveX) 12.0.1
Platform: Windows Vista/XP
Language: Visual Basic 6.0 SP6



Replies:
Posted By: Oleg
Date Posted: 15 July 2008 at 9:15am
Hi,
Add
 
TabControl.ShowNavigateButton xtpTabNavigateButtonClose, xtpTabNavigateButtonAlways


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: JasonG
Date Posted: 15 July 2008 at 9:18am
Perfect. Thanks.

-------------
Product: Xtreme SuitePro (ActiveX) 12.0.1
Platform: Windows Vista/XP
Language: Visual Basic 6.0 SP6



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