PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marc Van Cauwenberghe on September 15, 2009, 11:42:20 AM

Title: picture and text
Post by: Marc Van Cauwenberghe on September 15, 2009, 11:42:20 AM
Hello,

Is it possible tyo show the caption in an rrbbutton when a picture is loaded?
Or a picturebutton and a label in front of it?
Or any other way I can use a button with a picture an text. Without the picture itself having the text in it?

Marc
Title: Re: picture and text
Post by: TechSupport on September 15, 2009, 06:58:58 PM
Both the RRButton and Jose's XPButton allow the use of an icon/bitmap with text.

Title: Re: picture and text
Post by: David Kenny on September 18, 2009, 02:54:18 PM
Marc,

You could look at the examples by Peter Lameijn in the PB Forums post:
http://www.powerbasic.com/support/forums/Forum4/HTML/012429.html (http://www.powerbasic.com/support/forums/Forum4/HTML/012429.html)

It loads the picture then 'injects' the text before using it.His routine looks like if fits your needs exactly.

David
Title: Re: picture and text
Post by: Marc Van Cauwenberghe on September 19, 2009, 06:07:53 AM
Thanks David,
I will have a look.

Marc