The Modified property
Have you ever thought about exiting a ProcessBook Display without getting prompted to save the changes?
The ProcessBook Display class exposes a property called Modified. Simply catch the BeforeClose event of the Display and set the Modified property to False. ProcessBook will not ask you to save the changes.
This can be handy if your users are allowed to change the display but you neither want them to safe the changes nor bother them with the question.
Me.Modified = False
A WebBrowser inside the Display
Adding a Browser to a ProcessBook is fairly simple:
- Open a ProcesBook Display.
- Press the Control button and add a Microsoft WebBrowser Control.
- Open the VBA editor either by pressing the apropriate button or by ALT+F11.
- Open the Code Window by a double-click on ThisDisplay in the Project Tree.
- Use the two combo boxes on the top of the code window to open the Display_Open Sub.
- Add the code below.
Me.WebBrowser1.Navigate( "http://www.osisoft.com" )
You may imagine that other events can be used to drive the content of the WebBrowser control guiding the user of ProcessBook from events out of the process.