• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

changing the status of a checkbox programatically

Hi experts,

I want to change at runtimethe status of acheckbox.

I triedto accomplish this with

checkbox1.state:=cbchecked;

and

checkbox1.state:=true;

but in both cases the checkbox was still unchecked when I launched
my testprogram.

Can you please tell me what I am doing wrong here?

With kind regards

Mathes

0
mathes
Asked:
mathes
1 Solution
 
intheCommented:
hello
CheckBox1.Checked:=True;

is what your after
Regards Barry
0
 
mathesAuthor Commented:
Thank you, this is exactly what I was looking for.

With kind regards

Mathes
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now