delphic++builderdelphi-xe2firemonkeyc++builder-xe2

Anchoring GUI components in FireMonkey


Just started testing FireMonkey and can't find a way to make dynamically sized/positioned components.

VCL had the Anchor property, FM does not.

Anybody see something I missed

Update:

Simple anchoring is not available in FM. You have to create TLayouts and align those, then put the controls inside the panel to have them 'stick'. If you used older version of Builder or Delphi, this will be the same as we used to have to do with TPanels.


Solution

  • To anchor a control is straight and requires reading the documentation.