02-12-2021, 01:23 PM
Hello,
according to the demo on GitHub, I tried the following:
with MW do begin
Reset;
Autosize := false;
CloseButtonVisible := true;
Draggable := false;
WindowWidth := 80;
WindowHeight := 80;
Src := 'legacy.pdf';
OnAsyncClick := nil;
OnAsyncClose := nil;
Show;
end;
MW appears correctly but the PDF is not displayed. The window is empty.
The file is in wwwroot.
Another problem with loading an HTML file (MW.Src := 'legacy.html'):
The file is loaded and displayed. But all special characters (e. g. ä, ö, ü, ...) are displayed as question marks.
Something wrong on my side?
Thanks for solutions!!
according to the demo on GitHub, I tried the following:
with MW do begin
Reset;
Autosize := false;
CloseButtonVisible := true;
Draggable := false;
WindowWidth := 80;
WindowHeight := 80;
Src := 'legacy.pdf';
OnAsyncClick := nil;
OnAsyncClose := nil;
Show;
end;
MW appears correctly but the PDF is not displayed. The window is empty.
The file is in wwwroot.
Another problem with loading an HTML file (MW.Src := 'legacy.html'):
The file is loaded and displayed. But all special characters (e. g. ä, ö, ü, ...) are displayed as question marks.
Something wrong on my side?

Thanks for solutions!!
The way to success is always under construction ... but i see a light at the end of the tunnel

