TPicShow and TStaticText

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

TPicShow and TStaticText

Postby wsr2 » September 29th, 2006, 8:25 pm

Hello. I'am from Russia, and my English language is very simple.
I'am use TPicShow in my project but then i'am place on the component TStaticText, his(TStaticText) background not transparent.
Image

How place information above TPicShow without background?
For me it's very important.

Thanks, and excuse me my lng.
wsr2
Member
Member
 
Posts: 2
Joined: September 29th, 2006, 8:11 pm

Postby Johnny_Bit » September 29th, 2006, 9:00 pm

TLabel with transparent on?
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby wsr2 » September 30th, 2006, 5:32 am

All about transparency and TLabel there. In this topic i have found how set transparency to TStaticText, but if I do it, I'am can't see the text :
Image

Dear Kambiz suggest use OnAfterDrawFrame event to write text, but I can't find this event in TPicShow. I use OnAfterNewFrame event to set text ditectly and my program is terminated.

To set TStaticText as Parent to PicShow i'am using this code :
Windows.SetParent(statictext1.Handle, PicShow.Handle);

P.S. I'am using TPicShow v4.04

//mod edit: minor corrections.
wsr2
Member
Member
 
Posts: 2
Joined: September 29th, 2006, 8:11 pm

Postby Johnny_Bit » September 30th, 2006, 6:40 am

Could you post your code, we'll see what's wrong with it. Or maybe furthermore we'll get some improvements to picshow...
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby Kambiz » September 30th, 2006, 7:02 am

Just drop StaticText on the form, bring it on front of PicShow, and set its transparency property to True.

That's all!
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 3 guests

cron