[DUG] TPageControl

Rohit Gupta r.gupta at xtra.co.nz
Tue Feb 27 15:54:57 NZDT 2007


I know the difference between the two events guys.  The notebook I have 
been using so far tells me in the changing event (prior to changing) 
which page it will go to.  And you can disallow it if you want.  This 
feature has already been used for  a number of years.  I am trying to 
replace the Orpheus notebook with TPageControl.

KuetFung.Chong at sungard.com wrote:
> 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.
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>   



More information about the Delphi mailing list