| RTL reference|Glossary|Tips/Tricks|FREE App/VCL|Books|Link Back |
| Most Recently Used (MRU) menu component - TadpMRU | ||||||||||||||||||||||
| Full source code of a TadpMRU component, a non-visual component which simplifies implementing a "Most Recently Used" file list in a menu (or a popup menu). The TadpMRU component allows for quick selection of a file that was recently accessed (opened) in an application. | ||||||||||||||||||||||
MRU - Most Recently UsedMany applications offer a list of most recently used files (like Delphi's File | Reopen menu) - a list that reflects the user's most recently accessed files in an application.The MRU list allows for quick selection of a file that was recently opened without having to select an Open menu item and search to locate a specific lately accessed file. Delphi does *not* provide any built-in mechanism for managing a MRU list. TadpMRUThe TadpMRU Delphi component is a non-visual component which simplifies implementing a "Most Recently Used" file list in a menu (or a popup menu). Here are the TadpMRU component's features:
Here's a list of public and published properties and methods: METHODS function RemoveItem(const FileName : string) : boolean; PROPERTIES ShowFullPath : boolean RegistryPath : string ParentMenuItem : TMenuItem EVENT Installing into a Component palette TadpMRU - example applicationHere's a sample example of using the TadpMRU Delphi component:
and at run-time:
That's it. Don't forget to download the component; and as always if there are any questions or comments please post them on the Delphi Programming Forum. |
||||||||||||||||||||||
All graphics (if any) in this feature created by Zarko Gajic.
| More Delphi |
| · Learn another routine every day - RTL Quick Reference. · Download free source code applications and components. · Talk about Delphi Programming, real time. · Link to the Delphi Programming site from your Web pages. · Tutorials, articles, tech. tips by: DATE or by TOPIC. |
| Stay informed with all new and interesting things about Delphi (for free). |
|
|
| Got some code to share? Got a question? Need some help? |

MaxItems: Cardinal
