Solved

changing the status of a checkbox programatically

Posted on 1999-01-22
2
226 Views
Last Modified: 2010-04-06
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
Comment
Question by:mathes
2 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 10 total points
ID: 1362869
hello
CheckBox1.Checked:=True;

is what your after
Regards Barry
0
 

Author Comment

by:mathes
ID: 1362870
Thank you, this is exactly what I was looking for.

With kind regards

Mathes
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question