Assisted Dialogs Library

Assets
1,757 Downloads Last Updated: Feb 24, 2011

Documentation

Functions

Actions

Create Dialog from MACRO Code

Parameters :

  • (String) MACRO Code : The MACRO Code is provided by Dialog Designer by clicking the MACRO Code button.

Create a Dialog from MACRO Code generated from the "Dialog Designer" map. Be carreful, locale texts are not set. You must define the locale manually. All dialogs generated by MACRO Code can be get by using "Get Dialog by Name" function.

Create Full Dialog from MACRO Code

Parameters :

  • (String) MACRO Code : The MACRO Code is provided by Dialog Designer by clicking the MACRO Code button.

Create the Dialog and all dialog items included in this dialog from MACRO Code generated from the "Dialog Designer" map. Be carreful, locale texts are not set. You must define the locale manually. All dialogs and dialog items generated by MACRO Code can be get by using "Get Dialog by Name" function.

Create Dialog Item from MACRO Code

Parameters :

  • (String) MACRO Code : The MACRO Code is provided by Dialog Designer by clicking the MACRO Code button.

Create a Dialog Item from MACRO Code generated from the "Dialog Designer" map. Be carreful, locale texts are not set. You must define the locale manually. All dialog items generated by MACRO Code can be get by using "Get Dialog Item by Name" function.

Set the name of Dialog

Parameters :

  • (Dialog) Dialog : The dialog you want to name.
  • (String) Name : The name of the dialog.

Set a name for a Dialog. Dialogs named by this function can be retreive by using the "Get Dialog by Name" function.

Set the name of Dialog Item

Parameters :

  • (Dialog Item) Dialog Item : The dialog item you want to name.
  • (String) Name : The name of the dialog item.

Set a name for a Dialog Item. Dialog items named by this function can be retreive by using the "Get Dialog Item by Name" function.

Getters

Get Dialog by Name

Parameters :

  • (String) Name : The name of the dialog you want to retreive. Returns :
  • (Dialog)

Get the dialog named previously by using "Set the name of Dialog", "Create Dialog from MACRO Code" or "Create Full Dialog from MACRO Code" functions.

Get Dialog Item by Name

Parameters :

  • (String) Name : The name of the dialog item you want to retreive. Returns :
  • (Dialog Item)

Get the dialog item named previously by using "Set the name of Dialog Item", "Create Dialog Item from MACRO Code" or "Create Full Dialog from MACRO Code" functions.

Errors

Invalid MACRO Code

The MACRO Code parameter is wrong.

Dialog array is full

The number of named dialogs is too high. Clear unused dialogs.

Dialog Item array is full

The number of named dialog items is too high. Clear unused dialog items.

Any other error produced by the library

The MACRO Code parameter is wrong... Or the function has a problem. Please check your MACRO Code parameter and if anything is wrong, report the bug.

Name already used

The name is already used by another dialog or dialog item. Names are unique.

Name not found

The name is not found by the library. The name must be set previously.