Hello,
FNC components are cross-platform compatible.
I would like to change the appearance FNC at run time VCL to WEB application (Miletus or other) without recompiling.
Step 1) create a simple "Editor" VCL application with two components
TMSFNCWidgetProgress1 And TMSFNCObjectInspector1 for modify some simple appearance properties (color, etc) at run time.
I save these objects from the VCL Editor application for example
F:= ExtractFilePath(ApplicaTion.ExeName) + 'FNCProgress1';
TMSFNCWidgetProgress1.SaveToJSONFile(F+'.Json');
TMSFNCWidgetProgress1.SaveSettingsToFile(F+'.setapp');
It's ok create too files
Step 2) Creation a simple MILETUS "Viewer" WEB application with the same TMSFNCWidgetProgress1 component on it
Run and after launching on click Webbutton for retreive new proporties (from Vcl file alfter)
code exemple
If (pos('.json',F) > 0) then
TMSFNCWidgetProgress1.LoadFromJSONFile(F);
If (pos('.setapp',F)> 0) then
TMSFNCWidgetProgress1.LoadSettingsFromFile(F);
// TMSFNCWidgetProgress1.Refresh;
If Load JSON file ==> Error
If Load only setting appearance ==> Ok but no change visual apparence
Q1) in Miletus do you have refresh or repaint component forcing?
Q2) Is it possible to transfer Appearance FNC Properties from VCL >> same FNC WEB component on Miletus or Other web?