HTMLView and launching HTML files
BlitzMax Forums/BlitzMax Programming/HTMLView and launching HTML files
| ||
I'm currenty using the HTMLView in my app and opening a local file like this:HtmlViewGo(HTMLPrintDlg.htmlView, AppDir +"./todo.html") Also opening a local help file to the system browser like this: (from my app dir) OpenURL("docs.html") Both does nothing on OS X but works fine on Windows. My guess is that it can't find the files. Anyone knows why it does not work on OS X? |
| ||
I have exactly the same issue. Has anyone got htmlviewgo to work on the mac? |
| ||
Hmm. Removing ./ and just using / makes it work on OS X. Also, OpenURL magically works now. Dunno what I changed :) |
| ||
Thanks once again for your pointers in this area ozak. the problem was I was hiding the htmlview gadget before calling the htmlviewgo (and then the gadgetprint). I was hiding it - well because I didn't want it displayed, but on the mac this stops it working, and the view doesn't seem to display anyway. Now the printing is working (well apart from the fact it seems to be cutting off the right hand edge of the image on the mac, but that's another story). It is just a little frustrating that there seems to be quite a few difference in how the gui module commands behave on the different operating systems, yet it's pretty much trial and error to find out about them. Maybe I should adopt your signiture too ozak? |
| ||
Hehe. Maybe we all should ;) |