Print Page | Close Window

Native controls on FMX controls

Printed From: TMS Software
Category: FMX Components
Forum Name: FMX mCL
Forum Discription:
Printed Date: 04 Apr 2020 at 7:58am

Topic: Native controls on FMX controls
Posted By: Ingeborg Bauer
Subject: Native controls on FMX controls
Date Posted: 23 Apr 2014 at 11:50am
Hi support,

it seems, that all TMS native controls can only be placed on a TForm.
Is there a way to place native control on e.g. a TPanel or TabControl from FMX?


Posted By: Bruno Fierens
Date Posted: 23 Apr 2014 at 11:51am
No this is not possible due to the nature of the FireMonkey framework.

Posted By: Bauer Ingeborg
Date Posted: 29 Apr 2014 at 5:43am
Isn't the TWebBrowser a native control on iOS and Android, which can be embedded 
in other controls? Is this a limit of the firemonkey on Mac?


Posted By: Pieter Scheldeman
Date Posted: 29 Apr 2014 at 5:47am
The TWebBrowser is wrapper around the native WebBrowser component on Mac OS X and "supports" placing it on a TabControl, and automatically handles the Tab switching, but this has been implemented only for the TWebBrowser control, as you can see in the source code of the tab control.

procedure TTabControl.WebBrowserReallign(Sender: TObject);
  BrowserManager : IFMXWBService;
  if TPlatformServices.Current.SupportsPlatformService(IFMXWBService, IInterface(BrowserManager)) then

Kind Regards, 

Posted By: Bauer Ingeborg
Date Posted: 04 Jul 2014 at 7:48am
Hi Pieter,

maybe it will work while using the TEmbeddedControl.
The FM iOS implementation using that way.


Print Page | Close Window