Previous Document Next Document

Object Model Reference : Classes : R : RecentFile : Properties : RecentFile.Index


RecentFile.Index

Property Index As Long

Description

Member of RecentFile

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

The Index property returns a read-only value.

VBA example

The following VBA example displays 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 2013 Corel Corporation. All rights reserved.