Selection permission event dispatcher.
function CanShowTab(TabIndex: Integer): Boolean; virtual;
virtual __fastcall Boolean CanShowTab(int TabIndex);
CanShowTab is called automatically when an attempt is made to show a tab. CanShowTab is exposed as a protected method so that descendants can override this method to provide application-specific criteria that determines whether a tab is accessible.
CanShowTab returns a Boolean value that indicates whether the tab specified in TabIndex can be accessed.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!