Print Page | Close Window

[Did you know]CommandBar on Tabpage

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=17045
Printed Date: 02 June 2024 at 1:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Did you know]CommandBar on Tabpage
Posted By: chrisABC
Subject: [Did you know]CommandBar on Tabpage
Date Posted: 01 August 2010 at 6:27am
I didn't really expect this to work, but tried it and it does work perfectly.

I had a CommandBar toolbar on a form, and a TabControl. It all worked OK, but the toolbar was only required for one of the tabpages, so I was hiding and showing the toolbar depending on which Tabpage was selected.

So I tried placing the CommandBar on the Tabpage instead. This works OK. Now the toolbar only appears when that tabpage is selected. And the toolbar is docked to the Tabpage, but can still be floated anywhere on the form if required.

End of useful tip (that you all probably already knew :-)


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



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