Closable property in TabControlItem |
Post Reply |
Author | |
youka
Groupie Joined: 20 March 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Try
TabControl.ShowNavigateButton xtpTabNavigateButtonClose, xtpTabNavigateButtonAlways
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
youka
Groupie Joined: 20 March 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
solved, though not the same as thought( like tabworkspace, add an "X" to each tabitem)
thank you so much , dear oleg ....
|
|
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 |