Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving the last 5 opened files

Status
Not open for further replies.

pierrotsc

Programmer
Nov 25, 2007
358
US
I would like to have an item under my file menu that would show "Reopen". when i hover my mouse on top of it, i would like to see a list of files I have last opened. Could someone tell me on how to do that if it is not too hard? I am sure it does involve some registry keys.
Thanks.
PO
 
The JEDI project has a component to do this: TJvMRUManager on their Non-Visual tab.
 
There are also some fairly extensive notes in the Delphi help files on how to add menu items programmatically [might not be with all versions though], its not too difficult, you don't really need a 3rd party component.
Basically you 'create' submenu objects. Then set the caption property of the newly created menu item to the text you require (The filenames).


Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top