Forgive me most sincerly for being a newbie, but im stuck on the most basic code problem.
i set a form and created a timer, button, and textbox. basically the program is ultra simple it mearly displays time when you click a button and the button acts as a toggle to swich time on and off.
the problem im having is that i need to check the logic of the timer.enabled in an if statement but this doesnt work for some reason.
if timer1.enabled=false then
timer1.enabled=true
button1.text="Stop"
end if
how do you reference values of the properties of an object.
is this right.
timer1.enabled=value (true/False)
i set a form and created a timer, button, and textbox. basically the program is ultra simple it mearly displays time when you click a button and the button acts as a toggle to swich time on and off.
the problem im having is that i need to check the logic of the timer.enabled in an if statement but this doesnt work for some reason.
if timer1.enabled=false then
timer1.enabled=true
button1.text="Stop"
end if
how do you reference values of the properties of an object.
is this right.
timer1.enabled=value (true/False)