backanim

  JR-FileViewer
Properties   Methods Events
   

jrsoftlogo

FirstSelectedItem

  Description:

Gets the first selected ListItem in FileViewer (ReadOnly)

       
   

  ico_syntax Syntax:

FileViewer1.FirstSelectedItem [ = JRFileListItem]

         

  ico_weitere Remarks:


This property returns the first selected ListItem in FileViewer. Use this property in conjunction with the NextSelectedItem property to enumerate all the selected items in FileViewer. If no item is selected, then 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