File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,8 @@ TUIRibbon = class(TWinControl, IUIApplication)
384384
385385 // / Adds an item to the list of recent path.
386386 // / <param name="pPath">The path that shall be added to the recent list.</param>
387- procedure AddToRecentItems (const pPath: string);
387+ // / <param name="pDescription">Optional. A description for the path.</param>
388+ procedure AddToRecentItems (const pPath: string; const pDescription: string = ' ' );
388389
389390 // / <summary>
390391 // / Get the currently selected "recent item".
@@ -1331,12 +1332,13 @@ procedure TUIRibbon.SetQuickAccessToolbarPosition(
13311332 end ;
13321333end ;
13331334
1334- procedure TUIRibbon.AddToRecentItems (const pPath: string);
1335+ procedure TUIRibbon.AddToRecentItems (const pPath: string; const pDescription: string = ' ' );
13351336var
13361337 lItem: TUIRecentItem;
13371338begin
13381339 lItem := TUIRecentItem.Create;
13391340 lItem.LabelText := pPath;
1341+ lItem.Description := pDescription;
13401342 fRecentItems.Items.Add(lItem);
13411343end ;
13421344
You can’t perform that action at this time.
0 commit comments