 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mikael Lenfors Guest
|
Posted: Tue Sep 26, 2006 1:10 am Post subject: Draw text on top of a TImage |
|
|
Hello!
I have an TImage on my form with a picture. This picture has its anchors on
my forms top,left,right and buttom and is stretched when resizing the form.
Now I want a white text to be drawn in the top right corner of the picture,
but this text should always keep the same size, means not be stretched! Kind
of owerlayed text...
Any ideas how to do this?
Regards, Mikael |
|
| Back to top |
|
 |
theo Guest
|
Posted: Tue Sep 26, 2006 1:30 am Post subject: Re: Draw text on top of a TImage |
|
|
Place a TLabel on the TImage, set Transparent property and Anchors to
akTop, akRight |
|
| Back to top |
|
 |
Mikael Lenfors Guest
|
Posted: Tue Sep 26, 2006 5:15 pm Post subject: Re: Draw text on top of a TImage |
|
|
Thanks! Sometimes it's so easy!
Mikael
"theo" <nospam (AT) for (DOT) me> skrev i meddelandet
news:45183b9d$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Place a TLabel on the TImage, set Transparent property and Anchors to
akTop, akRight |
|
|
| Back to top |
|
 |
fei hongbin Guest
|
Posted: Wed Nov 22, 2006 9:11 am Post subject: Re: Draw text on top of a TImage |
|
|
use TcanvasText
http://www.codeidea.com/html/components.html
"Mikael Lenfors" <mikael (AT) lenfors (DOT) se> 写入消息新闻:451919e8 (AT) newsgroups (DOT) borland.com...
| Quote: | Thanks! Sometimes it's so easy!
Mikael
"theo" <nospam (AT) for (DOT) me> skrev i meddelandet
news:45183b9d$1 (AT) newsgroups (DOT) borland.com...
Place a TLabel on the TImage, set Transparent property and Anchors to
akTop, akRight
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|