Whether or not the document is visible in the Run-time environment.
Syntax
object.RuntimeVisible [= Boolean]
Properties
The RuntimeVisible property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Boolean |
Whether the document is visible. |
Settings
The settings for Boolean are:
Value |
Description |
True |
The document is visible in the Run-time environment. (Default) |
False |
The document is not visible in the Run-time environment. |
Remarks
To display a picture that was opened with the RuntimeVisible property set to False, you must set the active window's Active property to True.
The following is an example of code that will set the RuntimeVisible and Active properties:
Dim doc As Object
Set doc = Application.Documents.Open("C:\Program Files (x86)\Proficy\iFIX\PIC\SAMPLE.GRF")
doc.ActiveWindow.Active = True