Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How find CommandBar Index
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How find CommandBar Index

 Post Reply Post Reply
Author
Message Reverse Sort Order
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 Topic: How find CommandBar Index
    Posted: 29 October 2007 at 12:52pm
Hi,
use "For each", find CommandBar you need and hide it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Posted: 29 October 2007 at 9:32am
I wish to show or hide commandbars at runtime. How can I get the index of an element inside the commandbars collection?

I checked all our examples and I found only statements like this (i.e. DynamicPopups):

CommandBars(2).Visible = Not CommandBars(2).Visible


At the moment I'm following the same way (numbering commandbars from 1 to ...) but how can I get this dimamically?

Thank you
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.093 seconds.