OnSelectionChange
           
|
  Description:
|
|
|
|
Fired when a new ListItem is selected.
|
|
|
|
|
|
|
|
|
|
|
           
|
  Syntax:
|
|
|
|
|
Sub FileViewer1.OnSelectionChange(ByVal Item As _JRFileListItem, ByVal Selecting As Boolean, ByVal Cancel As Boolean)
|
|
|
|
|
|
 
|
  Return Values:
|
|
|
|
|
a object with up to 17 informations about the selected file. If more then one item is selcted, then the JRFileListItem will be nothing.
|
|
|
Selecting
|
Return the selected State of the Item
|
|
|
Cancel
|
Set Cancel to true to select the item before.
|
|
           
|
    Example:
|
|
|
   
Private Sub filev1_OnSelectionChange(ByVal item As JRFileListItem, Selecting As Boolean, Cancel As Boolean) 'JRFileListItem is nothing if multi items are selected If Not item Is Nothing Then   Label3(7).Caption = item.path & item.FileName   'Cancel = True Else   'at multi selections the selecting and cancel are not work. To get the selected     items enum all the list items   Label3(7).Caption = Str$(FileV1.SelectedCount) End If
 
|
|
|