Small update
1) Added a new FTile interface for working with tiles.
Supported features:
- - creating and deleting tiles;
- - positioning and alignment;
- - size and margin configuration;
- - background images;
- - color, borders, and corner radius;
- - text and font settings;
- - opacity and rotation;
- - mouse event handling;
- - tags and hints support.
This interface had been requested by users for quite some time, but I only recently got around to implementing it.
2) Added mouse capture support for FMX controls.
Code:
procedure TFForm.SetCaptured(FControl: NativeInt);
begin
if FControl = 0 then
Exit;
TControlAccess(Pointer(FControl)).Capture;
end;
Once dragging begins, the control continues to receive mouse events even when the cursor moves outside its bounds.
This makes it possible to move panels, forms, and other UI elements without losing mouse tracking.
For example, you can now create your own draggable pseudo-windows inside the main application window and freely move them around the workspace.