Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - [Did you know]CommandBar on Tabpage
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Did you know]CommandBar on Tabpage

 Post Reply Post Reply
Author
Message
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Topic: [Did you know]CommandBar on Tabpage
    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
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.