RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TabNotBk.TPageChangeEvent Type

TPageChangeEvent is the type for event handlers that respond when the current page changes in a TTabbedNotebook control.

Pascal
TPageChangeEvent = procedure (Sender: TObject; NewTab: Integer; var AllowChange: Boolean) of object;
C++
(Sender: TObject; NewTab: Integer; var AllowChange: Boolean) ( TPageChangeEvent)();

TabNotBk

Sender is the TTabbedNotebook control. 

NewTab is the tab that is about to become the selected or current tab.  

AllowChange specifies whether the change to a new page is allowed. If the event handler sets AllowChange to false, a new page change doesn't occur. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!