CtlPanel.TCountEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
CTLPanel.pas
CtlPanel.hpp
Unit: CtlPanel
Parent: CtlPanel

Delphi

TCountEvent = procedure (Sender: TObject; var AppCount: Integer) of object;

C++

typedef void __fastcall (__closure *TCountEvent)(System::TObject* Sender, int &AppCount);

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.

See Also