Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - DockToolBar SetTearOffPopup  Commandbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DockToolBar SetTearOffPopup Commandbar

 Post Reply Post Reply
Author
Message
Josef View Drop Down
Groupie
Groupie


Joined: 15 April 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Josef Quote  Post ReplyReply Direct Link To This Post Topic: DockToolBar SetTearOffPopup Commandbar
    Posted: 12 May 2008 at 8:25am
Hello,

I am using
.SetTearOffPopup "TBRTitle", ID_TBR, 500

To create a command bar.

Now I want to dock this toolbar during startup:
set oTBR = CommandBars.FindControl(, ID_TBR, , True)

CommandBars.DockToolBar oTBR.CommandBar, 0, 0, xtpBarBottom

But this gives error 0x80010108.
Do I miss something?

Thank you,
Josef
Product: Xtreme SuitePro ActiveX v13.2.1
Platform: Windows 2008 (64bit)
Language: Visual Basic 6.0
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: 12 May 2008 at 11:25am

Hi,

You can't dock PopupBar.
 
Solution is to add builtin toolbar with same ID_TBR. if user teatoff "TBRTitle" this toolbar automatically will be used.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Josef View Drop Down
Groupie
Groupie


Joined: 15 April 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Josef Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2008 at 12:13pm
Hi,

thank you. This works.

Bye, Josef
Product: Xtreme SuitePro ActiveX v13.2.1
Platform: Windows 2008 (64bit)
Language: Visual Basic 6.0
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.