Vcl.Graphics.TCustomCanvas.OnChanging

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property OnChanging: TNotifyEvent read FOnChanging write FOnChanging;

C++

__property System::Classes::TNotifyEvent OnChanging = {read=FOnChanging, write=FOnChanging};

Propriétés

Type Visibilité  Source Unité  Parent
event public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCustomCanvas

Description

Se produit juste avant une modification de l'image.

Ecrivez un gestionnaire d'événement OnChanging pour effectuer une action spécifique avant que l'image du canevas ne change. Quand une application appelle l'une des méthodes de dessin de TCustomCanvas, la séquence suivante se produit :

  1. Un événement OnChanging a lieu.
  2. La méthode TCustomCanvas effectue la modification sur le canevas.
  3. Un événement OnChange a lieu.

Voir aussi