[Qt] Qt progress

Hess, Philip J pjhess at purdue.edu
Tue Jan 30 04:02:18 CET 2007


The attached project should illustrate the TCheckBox problem.

Thanks.



-----Original Message-----
From: qt-bounces at lazarus.freepascal.org on behalf of Felipe Monteiro de Carvalho
Sent: Mon 1/29/2007 6:50 PM
To: Items specific to the Qt widget set
Subject: Re: [Qt] Qt progress
 
On 1/29/07, Hess, Philip J <pjhess at purdue.edu> wrote:
> Yesterday I noticed that a TCheckBox's Checked property doesn't appear
> to reflect the visual state of the check box.

I just added a button and a checkbox to a form, and put this code:

procedure TForm2.Button4Click(Sender: TObject);
begin
  if CheckBox1.Checked then Caption := 'Checked'
  else Caption := 'Unchecked';
end;

Works perfectly

Need more details to reproduce.
-- 
Felipe Monteiro de Carvalho
_______________________________________________
Qt mailing list
Qt at lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/qt


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 8106 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20070129/8b02bf3d/attachment-0001.bin>


More information about the Qt mailing list