BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Draw text on top of a TImage

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Mikael Lenfors
Guest





PostPosted: Tue Sep 26, 2006 1:10 am    Post subject: Draw text on top of a TImage Reply with quote



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





PostPosted: Tue Sep 26, 2006 1:30 am    Post subject: Re: Draw text on top of a TImage Reply with quote



Place a TLabel on the TImage, set Transparent property and Anchors to
akTop, akRight
Back to top
Mikael Lenfors
Guest





PostPosted: Tue Sep 26, 2006 5:15 pm    Post subject: Re: Draw text on top of a TImage Reply with 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...
Quote:
Place a TLabel on the TImage, set Transparent property and Anchors to
akTop, akRight
Back to top
fei hongbin
Guest





PostPosted: Wed Nov 22, 2006 9:11 am    Post subject: Re: Draw text on top of a TImage Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.