'Usage Dim instance As WinButtonCollection Dim button As WinButton Dim value As Integer value = instance.IndexOf(button)
Parameters
- button
- A reference to the WinButton to locate.
Return Value
The zero-based index of the first occurrence of button within the entire list, if found; otherwise -1 is returned.