ContainsItem looks for an item in a collection
Member of Dictionary Collection (PRIM_DCOL)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | Boolean | Returns True is the object was found |
Item | *Input | PRIM_OBJT | Reference to the object to find |
ContainsItem returns True if the reference supplied in the Item parameter is stored the collection.
In this example, a button is shown or hidden based on the result of the ContainsItem method.
#Button.Visible := #Collection.ContainsItem(#Item)
Febuary 18 V14SP2