CtlPanel.TCountEvent

提供:RAD Studio API Documentation

Delphi

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

C++

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

プロパティ

種類 可視性 ソース ユニット 親
type
typedef
public
CTLPanel.pas
CtlPanel.hpp
CtlPanel CtlPanel


説明

TCountEvent は、OnCount イベント ハンドラの型です。

TCountEvent を使うと、利用可能なアプレットの数としてコントロール パネル アプリケーションが示した値を上書きすることができます。

Sender は、コントロール パネル アプリケーション オブジェクトです。

AppCount はモジュール数を返します。エントリ時には、アプリケーション内の TAppletModule インスタンスの数になっています。イベント ハンドラはこの値を変更することができます。

関連項目