[DUG] TPageControl
KuetFung.Chong at sungard.com
KuetFung.Chong at sungard.com
Tue Feb 27 15:26:29 NZDT 2007
The OnChanging event fires before new tab is selected, so
ActivePageIndex and TabIndex both points to the current page.
The OnChange event fires after new tab is selected, the TabIndex points
to the newly selected page.
Cheers,
Kuet-Fung
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Neven MacEwan
Sent: Tuesday, 27 February 2007 14:36
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] TPageControl
Rohit Gupta wrote:
Is the answer you don't? you use the onshow event of the page?
> Using TPageControl,
>
> Changing Event, how do I detect which page it is going to change to ?
> ActivePageIndex and TabIndex both show the current page (not the next
> page)
>
> *Rohit Gupta*
> * B.E. Elec. M.E. Mem IEEE Associate IEE*
> *Technical Manager*
> *Computer Fanatics Limited*
> **
> *Tel* +64 9 4892280
> *Fax* +64 9 4892290
> *Email *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
> *Web *www.cfl.co.nz <http://www.cfl.co.nz/>
>
> ----------------------------------------------------------------------
> -- This email and any attachments contain information, which is
> confidential and may be subject to legal privilege and copyright. If
> you are not the intended recipient, you must not use, distribute or
> copy this email or attachments. If you have received this in error,
> please notify us immediately by return email and then delete this
> email and any attachments.
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorised disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system.
More information about the Delphi
mailing list