![]() |
Can you hide forms on TabbedWorkspace |
Post Reply ![]() |
Author | |
kdube ![]() Newbie ![]() ![]() Joined: 10 January 2008 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 10 January 2008 at 11:53am |
Hi, I am working with the Shortcut Bar and Command Bar on an MDI Application. I am using the CommandBar to show a tabbed MDI interface
(using)
Set Workspace = Me.CommandBars1.ShowTabWorkspace(True)
this works OK however because I have a couple of forms on my shortcut bar (that are used for navigation), the tabbed workspace shows these forms as on its tabbed pane.
I want to not show these forms as tabs on the workspace... is this possible?
Thanks in Advance
Kevin Dube
|
|
![]() |
|
hades ![]() Newbie ![]() Joined: 04 January 2008 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
don't make it an mdi child...you should also set the Z order. if you still want it as a mdi child, try setting it from where you call it(manually using code). |
|
![]() |
|
kdube ![]() Newbie ![]() ![]() Joined: 10 January 2008 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Actually I didn't quite tell you the correct situation... the forms that are showing up that I do not want to show up are actually just minimized icons (but are still mdi child windows) on my mdi application. So I think I have to keep them as MDI children.. but the question still remains is there a way to not show them in the tabbed folders...
|
|
![]() |
|
kdube ![]() Newbie ![]() ![]() Joined: 10 January 2008 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
here is the answer from technical support:
You can use TabControlItem.Visible propery to hide tab.
call it after you add form or in Workspace_NewItem event: to hide after you show form frmD.Show Workspace.Refresh Workspace.FindItem(frmD.hwnd).Visible = False to hide in event: Private Sub Workspace_NewItem(ByVal Item As XtremeCommandBars.ITabControlItem) Item.Visible = False End Sub |
|
![]() |
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 |