CommandBars and controls

MarionD

Registered User.
Local time
Today, 00:48
Joined
Oct 10, 2000
Messages
425
Hi All,

I'm trying to set the visible property of some controls on my menubar. This works fine if I refer to the control by name.... can anyone tell me how to refer to the control by it's tag?

CB.Controls("Datei").Visible = True

CB.Controls(TagNr).visible= true???

thanks in anticipation!!
Marion
 
Check out the FindControl() method of the CommandBar object.
 
Thanks a million - took a while to work out, but I got it right!! Yoohooooo- I love it when a plan comes together!
 
Thanks a million - took a while to work out, but I got it right!! Yoohooooo- I love it when a plan comes together!

Need to get you some Riddalin :p

(Just kiddin :))
 
this is adrenalin pure!! (when the plan comes together!!)
 

Users who are viewing this thread

Back
Top Bottom