Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: skillalot on December 24, 2015, 08:35:46 AM

Title: Html dialog openin html file in background?
Post by: skillalot on December 24, 2015, 08:35:46 AM
I am working on a new screenset, and wanted to start on the helpfile. I tried some things, and got it working to opening a html file using the HtmlDialog command.
Now I wanted to have it fullscreen, and for some reason it opens only in the background in stead of as the top window?

Anyone who knows how to fix this?

Here is my button script:

Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.Navigate (GetMainFolder() + "help\program_run.html")
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width = 1920 ' Sets the width of the display window
objExplorer.Height = 1080 ' Sets the height of the display window
objExplorer.Left = 0 ' Sets the Left corner of the display window
objExplorer.Top = 0 ' Sets the top corner of the display window
objExplorer.Visible = 1
objExplorer.TheaterMode = 1
objExplorer.Resizable = 0
Title: Re: Html dialog openin html file in background?
Post by: BR549 on December 27, 2015, 01:35:51 AM
Have you given any thought as to using the built in function to display an HTML ??

HtmlDialog( GetMainFolder()+"Mach3MillGcode.htm" )