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 


[HELP] How i make trackbar can Transparency my trainer?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
MateeJr Gaming
Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 34

PostPosted: Tue Jan 02, 2018 7:49 pm    Post subject: [HELP] How i make trackbar can Transparency my trainer? Reply with quote

Help please i need transparent my trainer with tracbar
somebody help?
FreeER?
DarkByte?
At0ms?



I know How make CEPanel vIsible
Code :
UDF1.CEPanel1.visible = true

BUT I Want is when i scroll the traqckbar and the trainer was transparecy like idk
please help
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater
Reputation: 17

Joined: 10 Apr 2015
Posts: 602

PostPosted: Tue Jan 02, 2018 9:23 pm    Post subject: Reply with quote

like this ? :

Code:
f = createForm()
f.Width = 300
f.Height = 200
f.Position = 'poScreenCenter'
f.Caption = 'Test Transparent'
f.Color = '0x00DFF7FF'
f.AlphaBlend = true
f.AlphaBlendValue = 100

t1 = createTrackBar(f)
t1.left = 15
t1.top =  160
t1.width = f.width - t1.left - 80
t1.height = 30
t1.Max = 255
t1.Min = 100
t1.position = 0
t1.SelStart = 0
t1.SelEnd = 0

RLabel = createLabel(f)
RLabel.top = t1.top
RLabel.left = t1.left + t1.width + 12
RLabel.caption = 'R : 0'
RLabel.font.color = '0x001717FF'
RLabel.font.style = 'fsBold'

function exit()
 closeCE()
 return caFree
end

f.show()

R = 0

function TransparentChange(sender)
 R = t1.position
 RLabel.Caption = 'R :  '..tostring(t1.position)
 f.AlphaBlendValue = R
end

t1.onChange = TransparentChange
f.onClose = exit

_________________
Singapore Sling + Johnnie Walker + Some Peanuts....
Back to top
View user's profile Send private message
MateeJr Gaming
Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 34

PostPosted: Fri Jan 05, 2018 12:48 am    Post subject: Reply with quote

Yeaah! Thanks corroder You Best Cheater
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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