Pythoness Software Home
Buy Online
Overview Home
How It Works
Form Information
MRU Lists
Component Properties
Generic Settings
Advanced Settings
|
PSetting Overview & Usage: MRU Lists
Do you have a file-based application? If so, you should keep a most-recently-used
file list (MRU list). With PSetting you only need to make a couple of property
selections, and the hard work will be done for you.
Location, location, location. The location of your MRU list
is up to you. Maybe you like the way some applications add the MRU list to the main
File menu, just above the Exit command. Perhaps you like the way
that Delphi's MRU list appears as a secondary popup descending from the Reopen
menu item.
Simply double-click the PFormSettings component at design time and choose
the MRU List tab. You can choose the number of items to store in the MRU
list, whether the MRU list will appear before the selected menu item or
descending from the selected menu item.
That's not all! You can choose to display the full
path, just the file name, or an abbreviated path in your MRU list. You can
have PSetting automatically validate all MRU file names to make sure that the files
still exist and you can have PSetting add to the Windows Documents menu
automatically.
Full control. PSetting gives you full control of the
items in the MRU list. The following procedures and events relate to the usage
of your MRU list:
- Use MRUAdd to add files to the list
- Use MRURemove to remove an individual file from the list
- Use MRUClear to remove all files from the list
- Respond to OnMRUClick events to handle the user's MRU requests


|
To continue reading the PSetting Overview & Usage
articles, use the buttons at the right to move to the previous article or the
next article, respectively. |
|
|
|
|