CtlPanel.TAppletApplication.OnCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCount: TCountEvent read FOnCount write FOnCount;

C++

__property TCountEvent OnCount = {read=FOnCount, write=FOnCount};

Properties

Type Visibility Source Unit Parent
event public
CTLPanel.pas
CtlPanel.hpp
CtlPanel TAppletApplication

Description

Occurs when the control panel requests a count of the AppletModules.

The OnCount event occurs when the Application receives a CPL_GETCOUNT message from the controlling application. It must return the number of AppletModules that are available. The default is to return ModuleCount, but it may be overridden by changing the value of the AppCount parameter of the event handler.