CmdBarIsVisible()

Examples


The CmdBarIsVisible() function defined in the syCmdBarObj form is used to find out whether a toolbar is visible in Microsoft Dynamics GP.

Syntax

CmdBarIsVisible(UserID, ParentDictID, ParentFormID, ParentCmdID)

Parameters

UserID – A string that specifies the user for whom the state of the toolbar will be examined. Specify the empty string ("") to examine the default set of toolbars.

ParentDictID – The ID of the dictionary that contains the command list for the toolbar that is being examined.

ParentFormID – The resource ID of the command form that contains the definition of the command list used for the toolbar that is being examined.

ParentCmdID – The resource ID of the command list for the toolbar that is being examined.

Return value

A boolean. The value true indicates that the toolbar is displayed for the specified user, while false indicates that it is not.


Documentation Feedback