Examples: AddQuickLink


The following example shows the AddQuickLink procedure being used to add a command link to a Home Page template.

local string sUserID;

sUserID = 'User ID' of globals;

call AddQuickLink of form syHomePageQuickLinks, 
	sUserID,
	QL_COMMAND of form syHomePageMain, 
	resourceid(command IG_Lead_Maintenance of form Command_IG_Sample),
	resourceid(form Command_IG_Sample), 
	IG_PROD_ID, 
	Window_GetMainWindowTitle(IG_PROD_ID, technicalname(form IG_Lead_Maintenance)),
	"","","",0,0,0,0,0;

The following example shows the AddQuickLink procedure being used to add an external link to a Home Page template.

local string sUserID;

sUserID = 'User ID' of globals;

call AddQuickLink of form syHomePageQuickLinks,
	sUserID,
	QL_EXTERNAL of form syHomePageMain,
	0,
	0,
	0,
	"Notepad",
	"c:\Windows\Notepad.exe",
	"","",0,0,0,0,0;

The following example shows the AddQuickLink procedure being used to add a web page link to a Home Page template.

local string sUserID;

sUserID = 'User ID' of globals;

call AddQuickLink of form syHomePageQuickLinks, 
	sUserID,
	QL_WEBPAGE of form syHomePageMain,
	0,
	0,
	0,
	"Microsoft",
	"http://www.microsoft.com",
	"","",0,0,0,0,0;


Documentation Feedback