Use of Pictures & FindControl() |
Post Reply |
Author | |
Bernie
Senior Member Joined: 05 July 2007 Location: Taiwan Status: Offline Points: 109 |
Post Options
Thanks(0)
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |