|
ds_DuplicateForm |
|---|
| ds_DuplicateForm (tableNum; nameOfOriginal; nameOfCopy) <- errorCode | |||
|---|---|---|---|
| Parameter | Type | Description | |
| -> | tableNum | Integer | Table number |
| -> | nameOfOriginal | String | Source form name |
| -> | nameOfCopy | String | Created form name |
| <- | errorCode | Long Integer | Error Code (0 = no error) |
Duplicate the form nameOfOriginal. The copy is created in the same table. The form method and every object methods are also duplicated, likewise form properties (resizing options, event, inherited, ...)
IMPORTANT NOTE: after calling this routine, you must quit 4D immediatly, because the list of the forms of the table is not automatically updated.