----- Original Message -----
From: "Alistair George" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 8:19 PM
Subject: [DUG]: Pagecontrol again
> Hi
> I have a pagecontrol1 with two tabs 0 and 1 surely the following to turn
on 1 is
> correct?
> pagecontrol1.Pages[1].Highlighted := true;
>
> even if I programatically try to change the highlight by
> tabsheet6.Highlighted:=true does not do it.
>
> Any ideas?
Set the ActivePage property
eg
PageControl1.ActivePage := Tabsheet6;
Regards,
Brian
---------------------------------------------------------------------------
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/