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 


Need help!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
maikie111
Advanced Cheater
Reputation: 0

Joined: 30 Nov 2007
Posts: 89
Location: In a trojan virus

PostPosted: Sun Dec 23, 2007 10:47 am    Post subject: Need help! Reply with quote

How to make an on/off button?
Back to top
View user's profile Send private message
zezimanian
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 18

PostPosted: Sun Dec 23, 2007 10:50 am    Post subject: Reply with quote

For what?
_________________
Back to top
View user's profile Send private message Send e-mail
maikie111
Advanced Cheater
Reputation: 0

Joined: 30 Nov 2007
Posts: 89
Location: In a trojan virus

PostPosted: Sun Dec 23, 2007 10:53 am    Post subject: Reply with quote

vb 6
Back to top
View user's profile Send private message
zezimanian
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 18

PostPosted: Sun Dec 23, 2007 10:55 am    Post subject: Reply with quote

no i mean what are you wanting to turn on and off?
_________________
Back to top
View user's profile Send private message Send e-mail
maikie111
Advanced Cheater
Reputation: 0

Joined: 30 Nov 2007
Posts: 89
Location: In a trojan virus

PostPosted: Sun Dec 23, 2007 11:11 am    Post subject: Reply with quote

zezimanian wrote:
no i mean what are you wanting to turn on and off?


a button, just says ive yoyu push the button it says ON and ive you do that again it says OFF
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sun Dec 23, 2007 11:11 am    Post subject: Reply with quote

You could do this:

Code:
If Command1.Caption = "Off" Then
Command1.Caption = "On"
'Now you can enter your event to be triggered when it's on
Else
Command1.Caption = "Off"
'You can enter your event to be triggered when it's off
End If

_________________
Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Sun Dec 23, 2007 11:21 am    Post subject: Reply with quote

or
Code:
Select case command1.caption
case "ON"
command1.caption = "OFF"
case "OFF"
command1.caption = "ON"
end select
Back to top
View user's profile Send private message
maikie111
Advanced Cheater
Reputation: 0

Joined: 30 Nov 2007
Posts: 89
Location: In a trojan virus

PostPosted: Sun Dec 23, 2007 1:27 pm    Post subject: Reply with quote

Blader wrote:
You could do this:

Code:
If Command1.Caption = "Off" Then
Command1.Caption = "On"
'Now you can enter your event to be triggered when it's on
Else
Command1.Caption = "Off"
'You can enter your event to be triggered when it's off
End If



where do you put the variables?
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sun Dec 23, 2007 1:35 pm    Post subject: Reply with quote

Lol, in the spot where I told you can enter something, the third line and the sixth line...
Read it next time Rolling Eyes

_________________
Back to top
View user's profile Send private message
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