The AddQuickLink procedure of the syHomePageQuickLinks form adds a Quick Link to the template Home Page for a user.
AddQuickLink, UserID, TypeID, CmdID, CmdFormID, CmdDictID, DisplayName, TargetString1, TargetString2, TargetString3, TargetLong1, TargetLong2, TargetLong3, TargetLong4, TargetLong5
• UserID – A string specifying the ID of the current user for which the Quick Link is being added.
• TypeID – An integer specifying the type of link being added. The value corresponds to one of the following constants that are defined as part of the syHomePageMain form:
Constant |
Description |
---|---|
QL_COMMAND |
A standard command action |
QL_EXTERNAL |
A link to an external action |
QL_WEBPAGE |
A link to a web page |
• CmdID – For command links, the resource ID of the command to use for the link. For the other types of links, specify 0.
• CmdFormID – For command links, the resource ID of the command form that contains the definition of the command used for the link. For the other types of links, specify 0.
• CmdDictID – For command links, the ID of the dictionary that contains the command you are using for the link. For the other types of links, specify 0.
• DisplayName – A string specifying the name to display for the Quick Link.
• TargetString1 – A target string for the Shortcut Bar. Specify the empty string.
• TargetString2 – A target string for the Shortcut Bar. Specify the empty string.
• TargetString3 – A target string for the Shortcut Bar. Specify the empty string.
• TargetLong1 – A target long integer for the Shortcut Bar. Specify the value 0.
• TargetLong2 – A target long integer for the Shortcut Bar. Specify the value 0.
• TargetLong3 – A target long integer for the Shortcut Bar. Specify the value 0.
• TargetLong4 – A target long integer for the Shortcut Bar. Specify the value 0.
• TargetLong5 – A target long integer for the Shortcut Bar. Specify the value 0.