Examples: RegisterListNavigationCommand()


The following example is a form pre script for a command form that defines a command to open the Leads list. The script registers the Leads list, which was added to the Sales command list in the Navigation Pane. The value “1” is assigned as the ID for the list.

local boolean result;

result = RegisterListNavigationCommand(command ListObj_Leads,
		IG_PROD_ID,
		1,
		IG_PROD_ID,
		resourceid(form ListObj_Leads),
		0,
		LISTTYPE_CARD,
		command SalesButton of form Command_NavBar) of form syListObj;


Documentation Feedback