Print Page | Close Window

Closable property in TabControlItem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=15399
Printed Date: 23 November 2024 at 6:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Closable property in TabControlItem
Posted By: youka
Subject: Closable property in TabControlItem
Date 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 " mk:@MSITStore:e:\ActiveX\Xtreme%20SuitePro%20ActiveX%20v11.1.3\help\SymbolReference.chm::/XtremeCommandBars~TabControlItem~Closable.html - Closable " property could do this. but i tried but no effect.
 
the document writes: "The Closeable property specifies whether the mk:@MSITStore:e:\ActiveX\Xtreme%20SuitePro%20ActiveX%20v11.1.3\help\SymbolReference.chm::/XtremeCommandBars~Enumerations~XTPWorkspaceButtons_EN.html - 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
 
 
 



Replies:
Posted By: Oleg
Date Posted: 21 October 2009 at 8:40am
Hi,
 
Try
TabControl.ShowNavigateButton xtpTabNavigateButtonClose, xtpTabNavigateButtonAlways


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


Posted By: youka
Date 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 .... 



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