CtlPanel.TCountEvent
Delphi
TCountEvent = procedure (Sender: TObject; var AppCount: Integer) of object;
C++
typedef void __fastcall (__closure *TCountEvent)(System::TObject* Sender, int &AppCount);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | CTLPanel.pas CtlPanel.hpp |
CtlPanel | CtlPanel |
Description
TCountEvent is the type of the OnCount event handler.
TCountEvent lets you override the indication a control panel application gives for number of applets it makes available.
Sender is the control panel application object.
AppCount returns the number of modules. On entry, this is the number of TAppletModule instances in the application. The event handler can change this amount.