Returns the selection item at the specified index.
object.Item((index As Long))
The Item method syntax has the following parts:
Part | Description |
---|---|
object | An expression evaluating to an object of type Selection. |
index | Long |
'SelChange event handler
Private Sub ARDesigner1_SelChange()
If ARDesigner1.SelectedObjects.Count = 1 Then
StatusBar1.Panels(1).Text = ARDesigner1.SelectedObjects.Item(0).Name
Else
StatusBar1.Panels(1).Text = ""
End If
End Sub