Method LaunchAppliCat
LaunchAppliCat(string, string, IntPtr)
Opens an AppliCat from the catalog.
Declaration
public string LaunchAppliCat(string applicatCode, string initialValues, IntPtr parentWindowHandle)
Parameters
Type | Name | Description |
---|---|---|
string | applicatCode | Code of the AppliCat to open. |
string | initialValues | Defines the initial state of the AppliCat that is to say the content of all its controls. See remarks for the format description. |
IntPtr | parentWindowHandle | Handle of the KitchenDraw
window. When the method is called from a KitchenDraw plugin,
this parameter can be set to |
Returns
Type | Description |
---|---|
string | The character string representing the resulting
script. The content of the controls of the Applicat is
indicated in the |
Remarks
The format of the initialValues
parameter should be the following:
COMMENT("EDIT_NAME=100|COMBO_NAME=3:BLC|CASE_NAME=1")
.
The controls are separated by the |
pipe character, and
the text of each edit control is placed directly after the
equal =
sign. For a combobox a zero-based rank of the
selected item should be places instead of the text. For a
checkbox only values 0
and 1
are allowed, meaning
switched off and turned on respectively.