Vcl.Graphics.TCustomCanvas.OnChanging
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 :
- Un événement OnChanging a lieu.
- La méthode TCustomCanvas effectue la modification sur le canevas.
- Un événement OnChange a lieu.