Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Use of Pictures & FindControl()
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Use of Pictures & FindControl()

 Post Reply Post Reply
Author
Message
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Topic: Use of Pictures & FindControl()
    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.
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.