backanim

  JR-FileViewer
Properties   Methods   Events
   

jrsoftlogo

            AfterNewView

           

  Description:

Fired if the list has refreshed the view.

           

  ico_syntax Syntax:

Sub FileViewer1.AfterNewView(ByVal Path As String, ByVal CanGoPrevious As Boolean, ByVal CanGoNext As Boolean)

 

  ico_einstellungen
Return Values:

Path

the path of the current viewed folder

CanGoPrevious

true if we can change to a previous folder with HistoryPrevious

CanGoNext

true if we can change to the Next folder with HistoryNext

           

  ico_einstellungen   Example:

       

    Private Sub filev1_AfterNewView(path As String, CanDoPrevious As Boolean, CanDoNext As Boolean)
    If CanDoPrevious = True Then
      Command6(0).Enabled = True
    Else
      Command6(0).Enabled = False
    End If
    If CanDoNext = True Then
      Command6(1).Enabled = True
    Else
      Command6(1).Enabled = False
    End If

    Label3(1).Caption = path