TRubberbandLayer

Graphics32

TRubberbandLayer

Hierarchy

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 thay 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

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

See Also

GDI Overlays, Using Layers