RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
CtlPanel.TCountEvent Type

TCountEvent is the type of the OnCount event handler.

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

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!