Print Page | Close Window

DockToolBar SetTearOffPopup Commandbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10598
Printed Date: 28 September 2024 at 8:14am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DockToolBar SetTearOffPopup Commandbar
Posted By: Josef
Subject: DockToolBar SetTearOffPopup Commandbar
Date 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



Replies:
Posted By: Oleg
Date 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


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



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