API:Vcl.JumpList.TJumpList.ShowRecent
Delphi
property ShowRecent: Boolean read FShowRecent write SetShowRecent default 0;
C++
__property ShowRecent = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.JumpList.pas Vcl.JumpList.hpp |
Vcl.JumpList | TJumpList |
Description
Shows a list of the last files that your user opens with your application in the jump list of your application.
Vcl.JumpList.TJumpList.ShowRecent inherits from Vcl.JumpList.TCustomJumpList.ShowRecent. All content below this line refers to Vcl.JumpList.TCustomJumpList.ShowRecent.
Shows a list of the last files that your user opens with your application in the jump list of your application.
- Notes:
- Windows does not show empty lists.
- Recent and frequent files are disabled in applications by default. For your application to be able to show recent or frequent files in its jump list, you application must meet either of the following requirements:
- The user of your application must have opened at least one file using your application.
- You must register your application as a file handler for one or more file types on the system.
Exceptions
Modifying the content of the ShowRecent property may raise any of the following exceptions:
Exception | Exception.Message | Scenarios |
---|---|---|
JumpList exception: Error <code> Beginning List |
| |
JumpList exception: Error <code> Committing List |
|
If you modify ShowRecent, your jump list component uses the following members that may raise their own exceptions: