![]() ![]() The app I am writing is for in-house use so can require free things like that to also be installed. I’m not saying it’s Xojo’s fault that the HTMLViewer does not work for displaying PDFs on all machines…Īll I’m asking is there way to ensure it will work, like on Windows requiring Acrobat reader or some such also be installed. In my quick tests using the HTML viewer, it gave more more control than launching a PDF to be displayed in a browser. Ideally I would want to be be able ensure end users can only display and not save or print the PDFs… But I’m not going to pay $1000 for an MBS DynaPDF Pro license for that! And displaying PDFs is all I need that I don’t have. I agree Xojo should have a PDF viewer built in these days give the ubiquity of PDFs, and now that they support of creating them even more so (though mine start life as Word Docs)… It is not the fault of Xojo when it does not. It just so happens to work on some systems. To be quite frank, it’s HTMLViewer – not PDFViewer. Is this considered a bug that I should report or is this expected behaviour? Would anyone know of a workaround? Native renderer does not work as it downloads the pdf rather than displaying it. I assume that this updated webkit version is responsible for the broken functionality. I note in the Xojo2021r3.0 release notes thatĦ4854 Framework » Windows Updated Windows WebKit HTMLViewer to CEF 90.6.7+g19ba721+chromium-.212. I can see from the DocumentBegin event that initially the correct URL is being loaded, however, immediately a new DocumentBegin is raised where the URL isĬhrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html In Xojo 2021r3.1, on Windows, in a webkit renderer HTMLViewer, the same line of code will not properly load the pdf. ![]() The driving logic behind these new controls is that they. For example, Window is now DesktopWindow and TextField is now DesktopTextField. Each of these controls replaces its original control counterpart and is prefixed with Desktop. ![]() In Xojo 2021r2.1, on Windows, in a webkit renderer HTMLViewer, I could use: HTMLViewer1.LoadURL("")Īnd the pdf would be displayed in the HTMLViewer. Xojo 2021 Release 3 Xojo introduces a new set of Desktop controls. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |