![]() ![]() I have checked that after replacement file name is indeed "E:\Temp\File Name.html", so somewhere along the way from Delphi to Edge it is changed to "E:\Temp\File%20Name.html". So, I have changed the call in above procedure to this: Pchar (StringReplace (sFileName, ' ', ' ', )), nil, sw_ShowNormal) Īnd now Edge open one tab with the following address: "E:\Temp\File%20Name.html" When I drag file from Win Explorer to Edge it shows address as "E:\Temp\File Name.html". ![]() When there is a space, for example "E:\Temp\File Name.html" Edge would instead of one tab with the specified file name open two tabs, one with name "E:\Temp\File" and another with "Name.html". One of the options on the print dialog is a Print to file check box. The print dialog, TPrintDialog simply shows the standard system dialog for printing. In all of my QuickReports, I set the PrintDialog property to True. It works fine, unless there is a space somewhere in the file name itself or name of any of the parent maps. Print a HTML CSS document from TWebbrowser object in DELPHI5 I need to print the document to the printer with 'backgrounds' and 'colors' addressed by 'urls' in the HTML document. Pchar ('"' sFileName '"'), nil, sw_ShowNormal) ShellExecute (Handle, 'open', Pchar('"shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge"'), I have following procedure that should invoke Edge from Delphi program and open local file which address is given in sFileName procedure OpenFileInEdge ( ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |