AnnoUISetHyperlink

Usage                  Boolean AnnoUISetHyperlink(Hyperlink As String, Type As Short)

Description         Sets up the new object information about hyperlink for the user interface handler. It is applied to new objects and the selected objects, if there are any.

Parameters         Hyperlink           String                 Hyperlink text.

                             Type                    Short                  Type of the hyperlink.

Return value      TRUE on success, otherwise FALSE.

Programming Notes        Available hyperlink types:

A_HYPERLINK_NONE - There is no hyperlink for the object. In this case the hyperlink text is empty.

A_ANNO_MSG - If you click on the object in run mode the AnnoDefined event will be fired. In this case the hyperlink text is empty.

A_USER_MSG - If you click on the object in run mode the UserDefined event will be fired. In this case the hyperlink text is empty.

A_RUN_EXE - If you click on the object in run mode the specified exe program will be executed. In this case the exe path and name is stored in the hyperlink text.

A_WEB_PAGE - If you click on the object in run mode the specified web page will be displayed. In this case the URL of the page is stored in the hyperlink text.