Sign in Join
FPDoc Onlineexperiment

TPostScriptPrinterCanvas.RegionChanging procedure

Member of TPostScriptPrinterCanvasprotectedIn unit PostScriptCanvas

Declaration

pascal
procedure RegionChanging(APen: TObject); override

Description

Not described here; this is what TCanvas.RegionChanging says of it:

Implements the OnChanging event handler for the Region on the canvas.

RegionChanging is assigned as the OnChanging event handler for the Region property in the constructor for the class instance. It allows the canvas class to be notified and updated when the region for the canvas is modified.

RegionChanging ensures that both the Handle and the Region for the canvas are valid. No actions are performed in the method if State does not contain the values csRegionValid and csHandleValid. It removes csRegionValid from the States property and reselects the handle for the Region on the control.

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