AddConfig method: DZComponentConfig class
Syntax
AddConfig(PAGE_NAME, FldTabOrder)
Description
Use the AddConfig method to instantiate a DZConfig object to add a new drop zone configuration or to retrieve an existing configuration for a drop zone group box. Subsequently, use the SetSubpageName and then the Save methods of the DZConfig object to associate a subpage to this drop zone and save the configuration.
Parameters
| Parameter | Description |
|---|---|
|
PAGE_NAME |
Specifies a string value representing the name of a main page, a nested subpage, or a secondary page that contains a valid drop zone group box. Note: To be valid, the page containing the valid drop zone group box must be definitional linked to the component that is associated with this DZComponentConfig object. |
|
FldTabOrder |
Specifies the page field tab order for the group box as a string value. |
Returns
A DZConfig object.
Example
import PTCS_DROPZONE:*;
Local PTCS_DROPZONE:DZComponentConfig &dzCompConfig = create PTCS_DROPZONE:DZComponentConfig("EX_EXP_SHEET_FL", "EX_ADMIN_EXPENSE_FL", "GBL");
Local PTCS_DROPZONE:DZConfig &dzConfig = &dzCompConfig.AddConfig("EX_SHEET_HDR_FL", "2");
Related Topics