Unit HistMenu |
Classes |
Functions |
Register -
Types |
Constants |
Variables |
Functions |
Types |
THistMenuEvent = procedure(Sender:TObject; Caption:String; Tag:LongInt) of objectHistmenu component for Delphi 3.0. Copyright © 1997 Wim Vissers, The Netherlands. Written by: Wim Vissers email: wvissers@dds.nl You are free to use, modify, and distribute this code subject to following restrictions: - If you copy portions of my code or get ideas from my code, please give me credit. - Do not release modified versions of this source code unless it has significant differences and is also freeware. Install this component by copying histmenu.pas and histmenu.dcr to a convenient directory, and choosing Component, Install Component from the Delphi menu. The THistmenu component will be added to the 'Samples' section. The component assists in adding 'last openened files'-like menu items to any mainmenu you want. To use this component, just add it to a form containing a MainMenu component, and set the MenuItem property to an existing menu-item. The history-items will be added using the 'Add' method, taking a caption string and an integer Tag as its arguments. To save it to the registry, make sure you have the BaseKey property filled out right, and call the 'RegSave' method. To restore it, call the 'RegRestore' method. The registry key used will be 'HKEY_CURRENT_USER\
Constants |
Variables |