| Search Locate Previous Next | Contents |
Description
Manages the Most Recently Used files list on your File Menu.
When refreshed with a file name, it checks this against the current list, and updates as required. If the file is already there, it gets pulled to the top. Otherwise it is added, and if the limit on number of files has been reached, it drops the last one.
It will also maintain an entry called:
[Recent File List] File1=blaaah
... in your .INI file or with a given Registry key, if you give a file name or path as the second element in the reference. The default limit is to remember 4 files.
N.B. the <File Menu Name> in the reference data is the name in square brackets (such as [file]) in your menu definition. This is case-sensitive, so be careful!
Names longer that the allowed maximum are shortened from the middle outwards e.g. S:\server\...\...\myfile.qwe to limit menu width.
Class Property Table
| Name | Type | Default | Description |
| File name | Runtime | Current File Name | |
| Specification | Runtime | (File Menu name)(INI file or Registry path)(No. of files {4}) | |
| Max length | Int | 36 | Maximum name-length before shortening |
| Storage | OneOf | Where to store the list |
Class-specific Events
| FO | File Open Request (MRU) |
Class-specific Functions
| SetSection | Change the default name for the INI section or Registry key |