GetAlias, DrawCmdTarget Function

Syntax

GetAlias(_lpszAlias, _bRecursive)

Description

This function returns the valued defined for the Alias passes as the "lpszAlias" parameter. The bRecursive parameter consents the Alias to be searched for in the ocal object table or also in the container symbol or in the screen.

 

 

Parameter

Description

lpszAlias As String

Name of Alias where to retrieve value.

bRecursive As Boolean

If set to  True, this parameter consents Alias search in symbol contain and screen as well.

 

Result

String

 

Example:

Public Sub Click()

MsgBox "Alias <<TsetAlais>> = " & GetAlias("TsetAlais", False),vbInformation, GetProjectTitle

End Sub

 

See Also