Toolbars on 1 row |
Post Reply |
Author | |
SteveStraley
Groupie Joined: 25 November 2005 Status: Offline Points: 46 |
Post Options
Thanks(0)
Posted: 03 August 2011 at 11:56am |
Hi Everyone,
Maybe I have had enough coffee yet. I need help figuring this out. I have 2 instances of a TOOLBAR and I want them to appear on the same row with one another. If I assign them both XTPBarPosition.xtpBarTop then one appears at the top most available row in the wind and the second appears right under the first... Ideas? Thanks, Steve |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(1)
|
Hi,
It can be done by using the following code:
|
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
SteveStraley
Groupie Joined: 25 November 2005 Status: Offline Points: 46 |
Post Options
Thanks(0)
|
Hi Xander... thanks... I did the translation to C#.
The trick, in case anyone tries this, is that the toolbar to be re-positioned needs to happen after the main window has been "drawn" or "shown". For example, I did the call within the "load" of the main window with the command bars and it didn't work... when I moved the call to the method that is triggered when the main window/command bars are shown, it did work... Mega thanks... if people want the converted C# code, let me know!!!!
|
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi Steve,
Glad the code helped even though you required to convert this to C#. You might be best to add the code to this post, especially as in the near future I might be using the Codejock Suite in C#. So I will need all the help I can get! |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
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 |