Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Is it possible to make a form Transparent?(Delphi)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Fri Nov 09, 2007 5:00 pm    Post subject: Is it possible to make a form Transparent?(Delphi) Reply with quote

Just as the topic says I want to make a form about 50% transparent but I've searched on google and no luck...I came back here hoping for some help. Can someone please help?
Thanks.
Back to top
View user's profile Send private message MSN Messenger
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Fri Nov 09, 2007 5:07 pm    Post subject: Reply with quote

AlphaBlend := true;
AlphaBlendValue := random(255);

Also, possible in the object inspector.

0 = Invisible
255 = 100% Visible.
256+ = Back to 0 I think... or same as 255.
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Fri Nov 09, 2007 5:08 pm    Post subject: Reply with quote

Not sure if you can do it in Delphi, but

Code:

Form.Opcaity := Num;
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Nov 09, 2007 5:49 pm    Post subject: Reply with quote

http://delphi.about.com/od/graphics/l/aa022202a.htm
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Fri Nov 09, 2007 6:08 pm    Post subject: Reply with quote

What if I just wanted the form to be transparent and not the Buttons and such. How would I do that?
Back to top
View user's profile Send private message MSN Messenger
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Fri Nov 09, 2007 6:16 pm    Post subject: Reply with quote

Maybe this should be possible, but I guess you'll have to code your own function.

If you want a completly visible form and not buttons, just set the TransparentColor to true and the Background color to TransparentColorValue's color.
Back to top
View user's profile Send private message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Fri Nov 09, 2007 9:15 pm    Post subject: Reply with quote

Thanks Symbol, but when I put a picture on the form how can I make it to where the form moves when you click and drag the picture? Kind of know what I mean?
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Nov 09, 2007 9:21 pm    Post subject: Reply with quote

http://delphi.about.com/od/windowsshellapi/a/dragnocaption.htm
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Fri Nov 09, 2007 9:38 pm    Post subject: Reply with quote

Thanks wiccaan. Cleared alot of things for me.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites