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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Caption and Picture Both Visible on Command Button (?)

Status
Not open for further replies.

hoialmen

MIS
Dec 10, 2001
53
US
Does anyone know if it is possible to display BOTH the Caption text AND the Picture image on a Command Button at the same time?

Thanks!

Nate
 
Sorry, Nate. I don't believe there is a direct way to do this. Two thoughts for work-arounds...

Create a bitmap image that includes the text you want along with the picture. Select that as the picture for your button.

Use a combination of rectangles, labels, and images to create the look you want and then assign the event you would run with the command button to the click events of the rectangles, labels, and images.

Using labels and rectangles, you can change the special effects property on the mouse down and up events to simulate the "push" of a standard command button.


HTH


John

Use what you have,
Learn what you can,
Create what you need.
 
John,

Thanks for the tips! I'll give them a try.

Nate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top