How to get out of Full Screen mode in IE ...

The InternetExplorer object's properties are documented here. AddressBar, StatusBar, MenuBar, and ToolBar are some of the many properties that can be adjusted. Modify ToggleMode() and add the right combination of properties that will give you the desired appearance.
 
The InternetExplorer object's properties are documented here. AddressBar, StatusBar, MenuBar, and ToolBar are some of the many properties that can be adjusted. Modify ToggleMode() and add the right combination of properties that will give you the desired appearance.

Thanks but the pages at the URL above might as well be in Greek (Latin, French, German, ...). I tried several properties but could not get any combination to work. Just kept getting errors. Sorry.

Thanks for your time.
 
... I tried several properties but could not get any combination to work
Well, let's not give up so quickly!

AddressBar, ToolBar, MenuBar, and StatusBar are properties that have a Boolean value and that means they are either "true" or "false" (i.e. enabled or disabled). For example, to control StatusBar you can add the following immediately after the line that controls Fullscreen:

oItem.StatusBar = not oItem.StatusBar

It will set StatusBar to the opposite of its current state.

There is a line of code in ToggleMode() that is commented out (i.e. is not executed) and it controls the TheaterMode property. Remove the leading single quote ('), add a single quote in front of the line controlling FullScreen (that'll comment it out) and save the file. ToggleMode() will now control TheaterMode instead of FullScreen.
 
You're welcome!

BTW, ensure the web page you're using has a title and it is fairly unique. ToggleMode() finds the 'current browser session' by comparing the title of every open web page to itself. If another browser was open to a different page but with the same title, ToggleCode() may find it first and expand the wrong browser. I haven't confirmed this with a test but, to avoid problems, make sure your web page has a unique title. I believe you are using "HAControl" (seen in your example photo) and that should be fine.
 
Back
Top