Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image on a button control

Status
Not open for further replies.

psteja2000

Programmer
Feb 1, 2005
82
US
In my ocx, I have a button on which I am to display a image (.ico file).

When I select the image file for the "picture" property in the properties window of the button it doesn't showup on teh button. Why is this? I am new to VB, hope someone can help..

regards,
Teja
 
Set the command buttons "Graphical" property to true.

If you choose to battle wits with the witless be prepared to lose.

[cheers]
 
Thanks Foada, it is really difficult in VB when you don't know what property it relates to. I spent hell lot of a time on this simple issue.

By theway.. The "style" should eb set to 1-Graphical.

regards,
Teja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top