Application.Hide



Hide() As Boolean
ED
avaliable
RT
avaliable

Remarks

This property returns/sets the visibility of the main window. If the value is True, the main window is hidden. With the value False the main window is shown again.

Sample:

The sample listed below accesses the object Application of the control system from an external application and hides/shows the main window depending of the status.

Sub zenOnHide()
Dim obZenOn As zenOn.Application
	'Get existing Object (zenOn Runtime)
	Set obZenOn = GetObject(, "zenOn.Application")
	If (obZenOn Is Nothing) Then
		MsgBox "zenOn Runtime not running"
		Exit Sub
	End If
	'Hide/Show Application...
	obZenOn.Hide = Not m_obZenOn.Hide
End Sub


See Also

Application