MoI create dialogue htm file

Next
 From:  BurrMan
10722.1 
Hi Michael,
Seems the create dialogue html files that open and contain hyperlinks, like The dmorril dialogue I posted here:

http://moi3d.com/forum/index.php?webtag=MOI&msg=10720.5

The links dont work and my windows 10 opens a search microsoft store for moi...

Is this something yoe are aware of and know a fix?

All the internet stuff references default browser. But I can run that dmoril ref file outside of MoI. Its just when I launch it from MoI it seems to not know what app to use to follow an a href link...

Sorry, dont get too deep on this.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10722.2 In reply to 10722.1 
Hi Burr, the dialog mechanism in MoI isn't really expecting to have links that will navigate the dialog page. Currently when a link is clicked it will try to call ShellExecute on it to have it open in a web browser.

Probably it would be better to launch the page in the system web browser, it should handle the links ok there.

So you can do that by calling this instead of creating a dialog:

moi.filesystem.shellExecute( moi.filesystem.getUIDir() + 'moi_ref\\index.htm' );

When that is triggered, the system web browser should open that page.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  BurrMan
10722.3 In reply to 10722.2 
Thanks... Worked great!!

updated original post so no confusion..
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All