Re: TZF - PageControl - Tabsheet

Chris Morgan <[email protected]> Tue, 13 Jan 2004 09:24:40 -0000
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
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
--^----------------------------------------------------------------