Normal Topic Associate image with a button (Read 418 times)
Rick_R
Full Member
***
Offline



Posts: 243
Joined: Jan 29th, 2010
Associate image with a button
Feb 17th, 2011 at 7:23pm
Print Post Print Post  
I'm wanting to use the typical "question mark in a circle" image for help, where the user clicks on the image and it will open help.  Any suggestions? Will I have to put an invisible command button under a static image?  The help will probably be a form that opens in a separate window, not a Custom Help.
  
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Associate image with a button
Reply #1 - Feb 17th, 2011 at 7:30pm
Print Post Print Post  
Sure, you set the command button Box Type to "No Box" by selecting "None" in the Box Fill drop-down on the Look tab in the Property Editor.

Then, you set the label of the command button like this:
Code
Select All
[image]:Data\MyImage.gif 



Adjust the path and image name as needed, but the "[image]:" prefix must be exactly that way.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Associate image with a button
Reply #2 - Feb 17th, 2011 at 7:35pm
Print Post Print Post  
BTW, you may need to save the form, exit it, and reopen it to see the image properly. When you first apply the label, you may see the image with the label, or you may only see the label, until you save, close, and reopen the form.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged