Print Page | Close Window

Use of Pictures & FindControl()

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=7874
Printed Date: 23 September 2024 at 5:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Use of Pictures & FindControl()
Posted By: Bernie
Subject: Use of Pictures & FindControl()
Date Posted: 26 August 2007 at 10:41pm
This time my aim is not to contfront anything here. HaHa...
Firstly, I have a silly question. I'd like to load a 128x128 gif picture from the file on the disk and show it as a button in the ribbonbar.
I didn't try because I'd like to know the following:
1. Can the picture in ANY SIZE be shown properly? In other words, will ribbonbar buttons automatically adjust width and height to show the whole assigned picture?
2. Is it possible in the next version to support GIF animation?
 
 
As for FINDCONTROL(),
I suggest this way should be easier to perceive and use.
 
Dim TB as RibbonBarTAB
Set TB = CommandBars1.FindControl(, 40011)
' 40011 was assigned to a RibbonbarTab ID property
SO THAT I COULD USE THIS CODE:
 
TB.Visible = False
 
 
I don't have good command of English. Therefore I try to explain what I said in many different ways.



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