Re: TZF - PageControl - Tabsheet

Pierre Wittwer <[email protected]> Wed, 14 Jan 2004 00:40:10 +0100
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Thanks for help:

Marie Vihosky : SetWhileTo  is ok instead of SetFilterTo. Thanks.

Chris : thank you, I am still working with Delphi 3.
TPageControl.OnAllowChange doesn't exist

Greetings

Pierre






----- Original Message -----
From: "Chris Morgan" <[email protected]>
To: <[email protected]>
Sent: Tuesday, January 13, 2004 10:24 AM
Subject: Re: TZF - PageControl - Tabsheet


> Hi Pierre,
>
> Look at the TPageControl.OnAllowChange event
> This has a parameter AllowChange which you can set to false
> to disallow changing the active page.
>
> cheers,
>
> Chris
>
> ----- Original Message -----
> From: "Pierre Wittwer" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, January 13, 2004 6:09 AM
> Subject: TZF - PageControl - Tabsheet
>
>
> > Hello,
> >
> > It's not a Topaz Problem, but I use an PageControl, e.g. with 3
> Tabsheets
> > A,B,C.
> > The user is on TabsheetA and only can change toTabsheetB or
> TabsheetC,  when
> > on the Tabsheet A the Button 'Save' is pressed.
> >
> > I tried with  TabSheetB.enabled:=false and TabSheetC.enabled:=false.
> >
> > How can I manage in another manner to prevent the user to change to
> B or C,
> > when he is working on A.
> >
> > Thank you for your help
> >
> >
> > Pierre Wittwer
> > 6370 Stans
> > Switzerland
> >
>
>
>

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------