Sign in Join
FPDoc Onlineexperiment

TCanvas.OnChanging property

Member of TCanvaspublishedIn unit Graphics

Event handler signalled prior to changing the canvas.

Declaration

pascal
property OnChanging: TNotifyEvent read FOnChanging write FOnChanging;

Description

OnChanging is a TNotifyEvent property which contains an event handler signalled before changing values in the canvas. The event handler is signalled (when assigned) from the Changing method, which is called before starting a drawing operation that alters the Pixels on the canvas.

Assign an object procedure to the property which implements the signature in TNotifyEvent to respond to the event notification.

Use OnChange to respond to the notification that occurs when a drawing operation is completed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.