AnnoObjGetHyperlinkType

Usage                  ShortAnnoObjGetHyperlinkType()

Description         This method retrieves the type of the hyperlink of the object selected.

Parameters

Return value      Type of the hyperlink or 0 on error. Call GetLastAnnoError method for last error code occurred.

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.