backanim

  JR-FileViewer
Properties   Methods Events
   

jrsoftlogo

NextSelectedItem

  Description:

Gets the next selected ListItem in FileViewer

         

  ico_syntax Syntax:

FileViewer1.NextSelectedItem [ = JRFileListItem]

       

  ico_weitere Remarks:


Use this property along with FirstSelectedItem to enumerate through all the ListItems which are currently selected. This property returns ListItems in the order that they appear in FileViewer, not in the order in which they are selected. When no more selected ListItems are available, a NULL value is returned.

  ico_einstellungen Example:

    Dim myitem As JRFileListItem


      Set myitem = FileV1.FirstSelectedItem
      While myitem Is Nothing = False
        List1.AddItem myitem.DisplayName
        Set myitem = FileV1.NextSelectedItem
      Wend