|
ED
|
not used
|
RT
|
avaliable
|
This property can influence the visibility of the dynamic
element. Usually this property returns False, i.e. the element is
displayed.
If the property is set to True, the element is hidden. And the
element stays invisible, until this property is set back to
False.
Reopening the picture resets the element.
'*** Change visibility of BITMAP_BTN_1 Public Sub LeftClickUp_Element_Hide(obElem As Element) Dim obElement As Element Dim obPicture As DynPicture '*** Get picture-Object Set obPicture = obElem.Parent.Parent If (obPicture Is Nothing) Then MsgBox "Error: Picture-object is invalid..." Exit Sub End If '*** Get element BITMAP_BTN_1 Set obElement = obPicture.Elements.Item("BITMAP_BTN_1") If (obElement Is Nothing) Then MsgBox "Error: element BITMAP_BTN_1 doesn't exists..." Exit Sub End If '*** De/-activate element obElement.Hide = Not obElement.Hide obElement.Update End Sub