• Log in or sign up for an account here: https://www.sythe.org/login

Stuck can some one please help me

dosanjh5

Member

Banned
Joined
Aug 26, 2008
Sythe Gold
0
Messages
50
okay soo i got these option things on my program like enable and disable but how do i make them actually enable and disable all help is greatly needed
 
<3 n4n0
Discord Verified
Two Factor Authentication User
Community Participant
Spam Forum Participant
Sythe's 10th Anniversary
Sythe Awards 2011 Winner
What are you trying to enable or disable?
 
for like a auto clicker soo like if its on diable when u click start it wont turn on and click enable then you can click start and it would start
 
Member of the Month Winner
Sythe's 10th Anniversary
There are many possible ways you could do this. I've not used VB6 in a long time, but from what I can think of there could be two easy ways of doing this.

The first involves the actions of the actual option-buttons. First, double click on the "Disable" option - you should get a sub which is executed when it is enabled or clicked. In this, you would place something similar to the following:

Code:
btnStart.Enabled = False
btnStop.Enabled  = False

Depending on what you called your controls.
Now for the enable option, you would double click on that and place the opposite:

Code:
btnStart.Enabled = True
btnStop.Enabled = True

The second way involves checking the checked state of the options when you actually click the "start" button, but as I don't have VB6 installed it is quite hard for me to tell you what to do because I'm almost certain anything I write on the spot won't work.
 
Runescape Gamblingrunescape gambling
Back
Top