Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Hide Button at runtime
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hide Button at runtime

 Post Reply Post Reply
Author
Message
schipio View Drop Down
Newbie
Newbie


Joined: 01 June 2010
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote schipio Quote  Post ReplyReply Direct Link To This Post Topic: Hide Button at runtime
    Posted: 01 June 2010 at 7:44am

Hi, I wonder if anyone can help me. I am trying to hide buttons on my Ribbon Bar control at runtime I am trying to bind to the specific button via its id e.g. frmMain.CommandBars1.Item(2).visible = false but I get an invalid procedure call or argument error. am i missing somthing here? hopefully comeone can point me to where i am gonig wrong?

Back to Top
Squale View Drop Down
Groupie
Groupie


Joined: 29 April 2009
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Squale Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2010 at 8:15am
CommandBars1.ActiveMenuBar.Controls(2).Enabled
Product: Xtreme SuitePro (ActiveX) version 13.3.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0
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.141 seconds.