Vcl.Controls.TGraphicControl

提供: RAD Studio API Documentation
移動先: 案内検索

Vcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTGraphicControl

Delphi

TGraphicControl = class(TControl)

C++

class PASCALIMPLEMENTATION TGraphicControl : public TControl

プロパティ

種類 可視性 ソース ユニット
class public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls


説明

TGraphicControl は、すべての軽量コントロールの基底クラスです。

TGraphicControl は、キーボード入力を受け付けたり、他のコントロールを保有する機能の必要のない、シンプルで軽量なコントロールをサポートします。軽量コントロールは、Windows 画面オブジェクトをラップしていないので、TWinControl をベースとしたコントロールよりも、高速でより少ないリソースしか使用しません。

TGraphicControl は、コントロールの描画面にアクセスするための Canvas プロパティ、および、親コントロールが受信する描画リクエストに応えて呼び出される仮想 Paint メソッドを提供します。

コード サンプル