Examples: FindCommandInMenu()


The following example uses the FindCommandInMenu() function to retrieve the location of the ListObj_Salespeople (Salesperson) command that appears in the Sales Lists menu.

local integer Seq;

Seq = FindCommandInMenu(DYNAMICS,
	resourceid(form Command_System), 
	resourceid(command CL_Sales_Lists of form Command_System),
	DYNAMICS,
	resourceid(form Command_Sales),
	resourceid(command ListObj_Salespeople of form Command_Sales),
	LoadMode,
	"");


Documentation Feedback