TRubberbandLayer

Ancestors

TPersistent
   |
TNotifiablePersistent
   |
TCustomLayer
   |
TPositionedLayer

Description

This class implements a rubber band, allowing to move and resize other positioned layers at run-time. The layer paints itself at GDI Overlays stage, using the standard GDI methods.

It is a good idea to keep TRubberbandLayer on top of other layers so that they don't intercept mouse messages.

Note, that this is a preliminary implementation of rubber banding, there is a lot to be done here to make its behavior more consistent, which will be done in future versions of the library. However, most likely I will keep names and general meaning of most properties and methods.

Reference

Methods Properties Events
In TRubberbandLayer:
Create ChildLayer OnConstrain
Destroy FrameStippleCounter OnResizing
SetFrameStipple FrameStippleStep OnUserChange
HandleFill
HandleFrame
Handles
HandleSize
MaxHeight
MaxWidth
MinHeight
MinWidth
Options
In TPositionedLayer:
GetAdjustedLocation Location
GetAdjustedRect Scaled
In TCustomLayer:
BringToFront Cursor OnHitTest
Changed Index OnMouseDown
HitTest LayerCollection OnMouseMove
SendToBack LayerOptions OnMouseUp
Update LayerStates OnPaint
MouseEvents
Tag
Visible
In TNotifiablePersistent:
BeginUpdate UpdateCount OnChange
EndUpdate

See Also

Paint Stages, Using Layers