GetUserDefinedMenuPos method

Applies to
UserInterface object

Return Type

This method returns the menu number of a user defined menu.

Use this method to get the menu number (where 1 is the left-most menu) of the user defined menu that is displayed on the ReadSoft Invoices module user interface. The value is valid only in the scope of the function that made the call to GetUserDefinedMenuPos. This is because the menu number changes when the user performs an action that changes which built-in menus are displayed.

Long

object.GetUserDefinedMenuPos

Part

Description

object

An expression evaluating to an object of type UserInterface.

Error output

Description

pPos = -1

No user defined menu is active