Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - SOLVED: Tab Control - closing tabs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Tab Control - closing tabs

 Post Reply Post Reply
Author
Message
JasonG View Drop Down
Groupie
Groupie


Joined: 07 July 2008
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote JasonG Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Tab Control - closing tabs
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2008 at 9:15am
Hi,
Add
 
TabControl.ShowNavigateButton xtpTabNavigateButtonClose, xtpTabNavigateButtonAlways
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
JasonG View Drop Down
Groupie
Groupie


Joined: 07 July 2008
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote JasonG Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.186 seconds.