I just can try to describe the control behaviour when placing it onto an empty webform. Its looking pretty normal. In the source code this creates these objects:
type
TForm1 = class(TWebForm)
TMSFNCNavigationPanel1: TTMSFNCNavigationPanel;
TMSFNCNavigationPanel1Panel0: TTMSFNCNavigationPanelContainer;
TMSFNCNavigationPanel1Panel1: TTMSFNCNavigationPanelContainer;
TMSFNCNavigationPanel1Panel2: TTMSFNCNavigationPanelContainer;
private
{ Private declarations }
public
{ Public declarations }
end;
I'm still trying to make this control work. I installed all latest versions of TMSWEBCore VSC / TMSFNC UI Pack. Which demo are you refering to?
This demos, I guess, are created by delphi RAD Studio. Did you try to create a new PWA/Electron App/ Miletus app from scratch with TMSWEBCore for VSC, using the TMSFNCNavigationPanel control? Its showing the control properly during design time, but not at runtime.
The source unit Unit1.pas is containing the VCL.TMSFNC* declarations, because the demo is created in the delphi IDE. Can you pls. try to create a WEB app with an empty WEB Form in VSC and place a TMSFNCNavigationPanel onto it, and run the app?
Seems, the three TTMSFNCNavigationPanelContainer which are generated automatically when placing the TTMSFNCNavigationPanel onto the form, are causing some trouble. When I remove them, clear the TTMSFNCNavigationPanel Panels property in the form constructor, and add panels by code, all seems to be running fine.
This seems to be a problem with the control for projects that were created in Delphi and are openend in VSC.
We will look into this to fix this, but for the moment the issue can be solved by removing the OldWith property from the dfm.