msgCatEditor()

The function opens the catalog editor.

Synopsis

int msgCatEditor(string catalog);

Parameter

Parameter Description
catalog The name of the catalog file that is created.

Return value

The function returns 0 if it was successfully executed and in case of errors -1.

Description

The function opens the catalog editor and creates a catalog file with the specified name. Entries can be added and saved in the editor. The file is saved in the WinCC_OA_Proj/msg/[language] directory.

exampleExample

main(mapping event)


{


  string cat = "_errors";


  int i = msgCatEditor(cat);


  DebugN(i, "Catalog:", cat);


}

The example opens the catalog editor and creates a catalog file with the name _errors. Rows can be added via the cat editor add row button. Row below the selected row via the cat editor add row below button. Save the file via the save the cat file button.

Figure: Message catalog editor

cat editor

Assignment

Graphics functions

Availability

UI