Hi Bart,
thanks, I could not find this in "Developer Guide" and did not get that error message.
Windows: It seams that it does not work on a TTabControl as expected.
However, the following code works on Windows:
if tcMain.ActiveTab = tiService then
begin
TabItemBackgroundAssign(rectService);
AlignBottom(tcMain); // TTabControl
tcMain.Height := tiService.Height + 4;
womMap.Enabled := False; // TTMSFMXWebOSMaps
womMap.Visible := True;
AlignClient(womMap);
// Delayed, otherwise Exception 80020101 in TMS
ExecDelayed(
procedure
begin
// Delete and prepare Marker here...
// ...and then enable
ServiceInit;
end);
end
else
begin
AlignClient(tcMain);
womMap.Enabled := False;
womMap.Visible := False;
end;
I need this disabled/invisible on startup. On Android I only see a blank control (also in demo when making visible/enabled at runtime).
What is a good way to archive this on Android?
Is there some kind of specific Update/Refresh/Invalidate method on Android?
Thanks and Regards
Michael
The map is automatically initilaized on startup.
Thank you for confirming the issue was resolved.