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.
| 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 | ||
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024