Hi TMS Team,
While migrating TMS OS/GM maps components to TMS FNC maps
I found an issue with form that was built using Docking manager.
Steps:
1) Create VCL Form / DX 10.3
2) Add Docking Manager to form / Latest DevExpress
3) Create Docking Site with 2 Docking Panels:
Left Panel - OS Map, Right Panel - FNC Map
4) Run exe
>> Result: both maps visible
5) Resize Panels: move splitter right or left
>> Result: Both maps visible
6) Change Layout: Move OS Map - Top. move new FNC Map - Bottom.
Result:
Old OS Map is updated / visible. FNC - blank screen.
I tried all functions: Reload, Reinitialize, Resize,...It doesn't help.
Note: without "Launch" old OS map is not displayed after layout change
Question:
Do we have a function in FNC Maps that is similar to "Launch" in old OS Maps
that may be used on Layout Change Event? or any other workaround...
Also, I found that when using different map types: old TMS OS and old TMS GM - then system crashes on layout change. This is not critical - because we are switching to new FNC.
Just need to know how re-init FNC.
Our app is quite complicated, contains many windows, custom layouts, grids, charts, maps, and docking manager is important. Also, because new FNC maps are very fast and flexible, we'll add more TMS maps to GUI.
procedure TForm1.dxDockingManager1LayoutChanged(Sender: TdxCustomDockControl);
begin
WebOSMaps1.Launch; // this works for OS Maps
TMSFNCMaps1.Reload; // How re-Init ?
end;
Thank you.