Examples: FindCommandInCmdList()

The following example uses the FindCommandInCmdList() function to retrieve the location of the GL_Transaction_Entry command that appears in the Financial toolbar in Microsoft Dynamics GP.

local integer Seq;

Seq = FindCommandInCmdList("", 
	resourceid(form Command_System), 
	resourceid(command CL_Financial_CMDBAR of form Command_System),
	resourceid(form Command_Financial),
	resourceid(command GL_Transaction_Entry of form Command_Financial)) of
	FindCommandInCmdListform syCmdBarBtnObj;

Documentation Feedback