View Single Post
  #15  
Old Yesterday, 07:22
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 53
Thanks: 480
Thanked 1,095 Times in 379 Posts
audiofeel is on a distinguished road
Arrow Small update

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.
__________________
https://t.me/FMXInno

Last edited by audiofeel; Yesterday at 07:25.
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
Behnam2018 (Yesterday)