Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Add TabControl to TabWorkspace for a not MDI Form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add TabControl to TabWorkspace for a not MDI Form

 Post Reply Post Reply
Author
Message
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Topic: Add TabControl to TabWorkspace for a not MDI Form
    Posted: 28 April 2008 at 4:36am
Hello,
 
How can I add TabControl to TabWorkspace for a not MDI Form ?
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: 28 April 2008 at 6:06am
Hi,
See single TabControl class in our Suite Controls.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2008 at 6:47am

?

I want that when I open a not MDI form, to add his Tab in the TabWorkspace!
How can I do it ?
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: 28 April 2008 at 8:55am

Hello,

No TabWorkspace can only work with MDI.
You can emullate TabWorkspace with our TabControl. Just manually add/remove items if you ope/close form.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2008 at 10:21am

Hello

Yes, I already try to do it with TabControl, but it not work for me,

Can you give me a simple

thanks
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: 28 April 2008 at 10:43am
Hi,
Show what you tried.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2008 at 10:52am
In Form_Load :
 
  Dim TabfrmArticle As TabControlItem
  TabfrmArticle.Caption = "Fiche Article : " & txtReference.Text
  TabfrmArticle.Selected = True
 
  frmMainWindow.CommandBars.TabWorkspace.CreateGroup TabfrmArticle, True
Back to Top
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2008 at 1:47pm
Ok, I desided to use all my form like MDI, and to show the other (not mdi) modal.
thanks Oleg
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.172 seconds.