| View previous topic :: View next topic |
| Author |
Message |
wsr2 Member
Joined: 29 Sep 2006 Posts: 2
|
Posted: 29/09/06 20:25 Post subject: TPicShow and TStaticText |
|
|
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.
How place information above TPicShow without background?
For me it's very important.
Thanks, and excuse me my lng.
|
|
| Back to top |
|
 |
Johnny_Bit Moderator
Joined: 15 Jun 2003 Posts: 274
|
Posted: 29/09/06 21:00 Post subject: |
|
|
| TLabel with transparent on?
|
|
| Back to top |
|
 |
wsr2 Member
Joined: 29 Sep 2006 Posts: 2
|
Posted: 30/09/06 05:32 Post subject: |
|
|
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 :
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.
|
|
| Back to top |
|
 |
Johnny_Bit Moderator
Joined: 15 Jun 2003 Posts: 274
|
Posted: 30/09/06 06:40 Post subject: |
|
|
| Could you post your code, we'll see what's wrong with it. Or maybe furthermore we'll get some improvements to picshow...
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 30/09/06 07:02 Post subject: |
|
|
Just drop StaticText on the form, bring it on front of PicShow, and set its transparency property to True.
That's all!
_________________ Kambiz |
|
| Back to top |
|
 |
|