AddIn_Name

Purpose

Sets the name of the application. Reserved procedure called automatically while mbx is starting.

 

Type: MapBasic Function (reserved)

 

Return Value: String

 

Description

The function sets a new name for the application (AddIn). This name is used in the Tools Manager in MapInfo Pro.

The name is also used to assign the ribbon resource xml file. The resource file is generated by the Ribbon Desiger and must have the same name. The file name gets the additional [AddIn_Name].resources.xml.

 

Example

In this example there must be a file MyApp.resources.xml in the same folder like the MBX wich includes this code.

 

Declare Function AddIn_Name() As String

'******************************

function AddIn_Name() As String

 AddIn_Name = "MyApp"

End Function