Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Closable property in TabControlItem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Closable property in TabControlItem

 Post Reply Post Reply
Author
Message Reverse Sort Order
youka View Drop Down
Groupie
Groupie


Joined: 20 March 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote youka Quote  Post ReplyReply Direct Link To This Post Topic: Closable property in TabControlItem
    Posted: 22 October 2009 at 4:24pm
solved, though not the same as thought( like tabworkspace, add an "X" to each tabitem)
 
thank you so much , dear oleg .... 
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: 21 October 2009 at 8:40am
Hi,
 
Try
TabControl.ShowNavigateButton xtpTabNavigateButtonClose, xtpTabNavigateButtonAlways
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
youka View Drop Down
Groupie
Groupie


Joined: 20 March 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote youka Quote  Post ReplyReply Direct Link To This Post Posted: 19 October 2009 at 1:44pm
Hi, dear Codejock Staff
 
I am using v 11.3, and recently we have a program that needs a close button in tabcontrol just like commandbar tabworkspace.
 
I have looked over the document and found that "Closable" property could do this. but i tried but no effect.
 
the document writes: "The Closeable property specifies whether the close button is displayed in the TabWorkspace when this tab is selected."
 
(either in  commandbar object or suit control tab control object....)
 
then i tried the following code but it doesn't work at all.
 
 
Private Sub Form_Load()
    Dim i As Long
    For i = 1 To Me.TabControl1.ItemCount
        Me.TabControl1.Item(1).Closable = True
    Next
 End Sub
 
 
 
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.188 seconds.