|
ED
|
not used
|
RT
|
read only
|
This property checks, if the current picture is open.
'*** Is the current picture shown Public Sub LeftClickUp_Picture_IsOnline(obElem As Element) Dim obPicture As DynPicture '*** Get picture-object Set obPicture = thisProject.DynPictures.Item("START") If (obPicture Is Nothing) Then MsgBox "Error: Picture-object is invalid..." Exit Sub End If '*** is picture shown????? If (obPicture.Online = True) Then MsgBox "Picture 'Start' is shown at the moment..." Else MsgBox "Picture 'Start' is NOT shown at the moment..." & vbCrLf & _ "Current Picture is '" & obElem.Parent.Parent.Name & "'!" End If obElem.LeftClickUp End Sub