Method XbpToolBar():restoreToolbar() Foundation

Restores a XbpToolBar object's button arrangement previously saved.

Syntax
:restoreToolbar( <cKey>, <cSubKey> ) => lSuccess
Parameters
<cKey>
The <cKey> parameter is a character string that specifies the name of the Registry key the toolbar's layout is saved under.
<cSubKey>
Parameter <cSubKey> contains a character string specifying the name of a sub-key in the system's Registry the toolbar's layout is saved under.
Return

:restoreToolbar() returns a logical value. If the XbpToolBar object's button arrangement is restored successfully, the value .T. (TRUE) is returned. In case of an error,:restoreToolbar() returns .F. (FALSE).

Description

The method :restoreToolbar() can be used to restore a toolbar button arrangement previously saved using :saveToolbar(). See :saveToolbar() for further information for saving and restoring XbpToolBar layouts.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.