[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Implements the OnChanging event handler for the Brush on the canvas.
Source position: graphics.pp line 1085
protected procedure TCanvas.BrushChanging( |
ABrush: TObject |
); virtual; |
ABrush |
|
Not used in the current implementation of the method. |
BrushChanging is assigned as the OnChanging event handler for the Brush property in the constructor for the class instance. It allows the canvas class to be notified and updated when a new brush is assigned to the canvas.
BrushChanging ensures that both the Handle and the Brush for the canvas are valid. No actions are performed in the method if State does not contain the values csBrushValid and csHandleValid. It removes csBrushValid from the States property and reselects the handle for the Brush in the control.
|
The Brush used to paint on the Canvas. |
|
|
Constructor for the class instance. |
|
|
Event handler signalled after a change to the canvas. |
|
|
The Brush to be used to Paint on the current Canvas. |
Version 3.2 | Generated 2024-02-25 | Home |