Re: Set the CheckBox.Checked without the OnClick being called



John Dough wrote:

But hey...what do I care. If you prefer to do things the hard way,
more power to you...

In my code you:

1. use one unit (I gave you the code; useable in every program)
2. call one procedure.

In your code you

1. declare a variable
2. do an assignment in the Create
3. do an assignment in procedure TForm1.Button1Click
4. do an assignment in procedure TForm1.Button1Click
5. (maybe) an assignment in procedure TForm1.Button1Click
6. do a test in procedure TForm1.CheckBox1Click
7. depending on the result of the test do an instruction in procedure TForm1.CheckBox1Click

Mine is the hard way ?

Maybe you should just program in assembler.

Fons.
.


Quantcast