backanim

  JR-FileViewer
Properties   Methods   Events
   

jrsoftlogo

            GetItemFromName

           

  Description:

GetItemFromName.

           

  ico_syntax Syntax:

FileViewer1.GetItemFromName(ByVal Myname As Variant) As _JRFileListItem.

 

  ico_einstellungen Adjustments:

Myname

Displayname of the Item.

       

  ico_weitere Remarks:


Returns a JRFileListItem Object with up to 17 informations of the file.

 

  ico_einstellungen Example:

       

    Private Sub filev1_OnItemClick(ByVal item As JRFileListItem)
    Dim xname$
    Label3(3).Caption = "Event OnItemClick (FileListItem)" + item.DisplayName
    'Test the getitemfromName function
    xname$ = item.DisplayName
    'the function returns an jrfilelistitem object, or nothing if the name was not found
    Set aa = FileV1.GetItemFromName(xname$)
    End Sub