TGDMRU Help
Hello, and thank-you for your support! Galactical Data is a company that bases its pride in its customer satisfaction. Just as with any of our products, your input is vital! If you have ANY questions, comments or suggestions about this product, or ideas for new products you would like to see, feel free to email us at galactical@geocities.com.
Regards
Brandon Moro
CEO
Galactical Data
Properties:
Boolean
Choose how duplicates are handled Boolean
Have TGDMRU assign Menu Shortcuts Boolean
If AllowDupes, moves dupe to top Integer
Maximum items to store String
Modify an item's Hint MRUImageIndex[ Integer ] Integer Modify an item's ImageIndex MRUItems[ Integer ] String Modify an item's Name MRUShortCut[ Integer ] TShortCut Modify an item's ShortCut SortProc TListSortCompare User-defined proc for Custom SortType SortType TGDMRUSortType How TGDMRU sorts the items
- Events:
OnItemClick( Sender : TObject; ItemName : String; ItemIndex : Integer)
- Methods:
function AddItem(ItemName : String) : Integer function AddItemEx(ItemName, Hint : String; ImageIndex : Integer; ShortCut : TShortCut) : Integer function GetItemIndex(ItemName : String) : Integer procedure INILoadMRU(FileName, Section : String) procedure INIStoreMRU(FileName, Section : String) procedure RegLoadMRU(RootKey : HKEY; RegKey : String) procedure RegStoreMRU(RootKey : HKEY; RegKey : String; CanCreate : Boolean) function RemoveItem(ItemName : String) : Boolean function RemoveItemIndex(Index : Integer) : Boolean procedure UpdateMenu(MenuItem : TMenuitem; AddSeperator : Boolean; StartIndex : Integer) procedure UpdatePopupMenu(Popup : TPopupMenu; AddSeperator : Boolean; StartIndex : Integer) procedure UpdateSubMenu(MenuItem : TMenuitem)
Properties:
- TRUE -- TGDMRU doesn't do any dupe checking
- FALSE -- TGDMRU ignores duplicate items (doesn't add to ItemList)
- TRUE -- A Menu shortcut is added to items. (First item's caption is '&1 '+ItemName, etc).
- FALSE -- The items are displayed as normal.
- TRUE -- When a duplicate item is added, it is moved to the top position (determined by SortType)
- FALSE -- Items are positioned as normal
- Determines the maximum numbers of items to be kept (and displayed)
- Use this to modfy an individual item's hint
- Use this to modfy an individual item's ImageIndex
- Use this to modfy an individual item's ItemName
- Use this to modfy an individual item's ShortCut
- Possible Values:
gdsForward Items are added to the bottom of the list gdsBackward Items are inserted to the top of the list gdsAlphaSort Items are sorted alphabetically gdsCustom Items are sorted by SortProc
- This is the TListSortCompare procedure defined by you that is used to sort the items in the list. For more information, look up TListSortCompare in Delphi's help.
Events:
- Occurs when an Item is clicked
Methods:
- Adds an item with no Hint, ImageIndex, or ShortCut
- Adds an item with the specified values.
- Returns the ItemIndex of the item who's Name = ItemName (-1 if not found)
- Clears the items and loads new items from the specified file and Section
- Stores items to specified INI file, in specified Section
- Clears the items and loads new items from the specified registry location
- Stores items to specitied registry location
- Removes item with Name = ItemName from list
- Removes specified item from list
- Updates the specified menu with items in list
- Updates PopupMenu with items in list
- Creates/Updates submenu below MenuItem with items in list
- 1.0
- Implemented all major functionality