![]() |
MDI tabs activation |
Post Reply ![]() |
Author | |
Woody ![]() Newbie ![]() Joined: 07 July 2004 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() Posted: 11 August 2004 at 10:07am |
I'm using ShowTabWorkspace(True). How do I select an MDI Child Form tab to make that Form visible/active from code? Form.Show doesn't do it.
And is there any way to temporarily disable a Tab so a Form can't be selected/shown? Thanks in advance Edited by Woody |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
If Not CommandBars.TabWorkspace.Item(2) Is Nothing Then
CommandBars.TabWorkspace.Ite m(2).Selected = True 'CommandBars.TabWorkspace.Item(2).Enabled = False 'CommandBars.TabWorkspace.Item(2).Visible = False End If Then something like: ActiveForm.Text1.Text = "Test" Edited by SuperMario |
|
![]() |
|
Woody ![]() Newbie ![]() Joined: 07 July 2004 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
I'm having problems accessing a MDI Child Form through it's Tab once it has been created.
I add for example three forms - Company, Contacts, Quotations. These may be opened and closed in any order. How can I reference a particular form to enable/select it in code when I only have indexes? ie. CommandBars.TabWorkspace.Item(2).Selected = True thanks for any help. |
|
![]() |
|
Woody ![]() Newbie ![]() Joined: 07 July 2004 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
Does anyone have a solution for this?
Thanks |
|
![]() |
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 |