HistoryMenu
THistoryMenu is a delphi-component that makes it easy to view then content of the history-folder in a menu structure.
Drop the component and a mainmenu-component on a form. Set Historymenu's Mainmenu-property to your mainmenu and add a single line of code:
procedure TForm1.FormCreate(Sender:
TObject); begin HistoryMenu1.CreateMenu; end; |
Properties:
Caption
Menutitle to appear in mainmenu. (Default: Localized).
MenuPos
Where to place the History-menu in mainmenu.
MainMenu
Your mainmenu (ex. MainMenu1)
Events:
OnUrlSelected(Sender : TObject; Url: String);
Trigger when a Url is selcted in the History-menu.
Methods:
ReBuildMenu
Call this function to rebuild the menu.
Feel free to contribute your enhancements and/or bug fixes...
NB: Ver 1.00 of the history-menu has only been tested in Delphi 5. Please e-mail
me a copy for upload, if you modify the component for Delphi 3 or 4!
Enjoy!
|
Created and maintained by
Per Lindsų Larsen
Last Update: Juli 27, 2000