Favorite Procedures

Top  Previous  Next

The Favorite Procedures feature allows you to create a list of the procedures in a project that you use frequently so you can go to them quickly. It is intended to replace the Bookmarks feature of Visual Basic, which has a couple of flaws: bookmarks are not persistent among sessions and they have no name, so you can go only to the next bookmark or to the previous one.

MZ-Tools offers the following ways to add a procedure to the list of favorites:

  • The Tools | MZ-Tools | Add Current Procedure to Favorites menu.
  • The MZ-Tools | Add Current Procedure to Favorites context menu of a code window.
  • The Add Current Procedure to Favorites button on the MZ-Tools toolbar.
  • The shortcut customized in the Options window, Shortcuts tab.

MZ-Tools offers the following ways to show the list of favorite procedures of the current project or project group:

  • The Tools | MZ-Tools | Go To Favorite Procedure... menu.
  • The MZ-Tools | Go To Favorite Procedure... context menu of a code window.
  • The Go To Favorite Procedure... button on the MZ-Tools toolbar.
  • The shortcut customized in the Options window, Shortcuts tab.

The window of favorite procedures is the following:

favorite_procedures

In this window, you can go to a procedure by double-clicking it or selecting it and then pressing the Enter key. You can also remove procedures from the list.

Remarks:

  • The favorite procedures list is saved in the Windows registry because it is different for each user.
  • This feature works not only at design-time (while coding) but also at debug-time (while debugging the application, although only using a keyboard shortcut).

See Also:

Shortcuts Customization