Print Page | Close Window

Hide Button at runtime

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=16780
Printed Date: 06 October 2024 at 9:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hide Button at runtime
Posted By: schipio
Subject: Hide Button at runtime
Date 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?




Replies:
Posted By: Squale
Date 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



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