Previous Document Next Document
RecentFile.Index

Property Index As Long

Member of RecentFile

The Index property returns the index of the current file entry in the Most Recently Used (MRU) list of CorelDRAW.

The Index property returns a read-only value.

The following code example displays the list of all of the files in the MRU list:

Sub Test() 
 Dim rf As RecentFile, s As String 
 s = "Most Recently Used files:" 
 For Each rf In RecentFiles 
  s = s & vbCr & rf.Index & ". " & rf.Name 
 Next rf 
 MsgBox s 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.