Vcl.Graphics.TCustomCanvas.OnChanging
Delphi
property OnChanging: TNotifyEvent read FOnChanging write FOnChanging;
C++
__property System::Classes::TNotifyEvent OnChanging = {read=FOnChanging, write=FOnChanging};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCustomCanvas |
Description
Occurs just before a change is made to the image.
Write an OnChanging event handler to take a specific action before the image on the canvas changes. When an application calls one of the drawing methods of TCustomCanvas, the following steps occur:
- An OnChanging event occurs.
- The TCustomCanvas method makes the change to the canvas.
- An OnChange event occurs.