![]() |
SOLVED: Tab Control - closing tabs |
Post Reply
|
| Author | |
JasonG
Groupie
Joined: 07 July 2008 Status: Offline Points: 76 |
Post Options
Thanks(0)
Quote Reply
Topic: SOLVED: Tab Control - closing tabsPosted: 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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 July 2008 at 9:15am |
|
Hi,
Add
TabControl.ShowNavigateButton xtpTabNavigateButtonClose, xtpTabNavigateButtonAlways
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
JasonG
Groupie
Joined: 07 July 2008 Status: Offline Points: 76 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |