What about

if Option.ItemIndex = 1 then begin
  Label1.Enabled := True;
  Label2.Enabled := True;
end
else begin
  Label1.Enabled := False;
  Label2.Enabled := False;
end;

Stacey
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to