OpenWGA 7.11 - TMLScript reference
WGAMethod :
createFormInfo(formid)
On object | WGA |
Usage |
Creates a new FormInfo object |
Description |
Objects of this type define settings for creating TMLForm objects from TMLScript. Use this object on method WGA.createForm() to finally create a TMLForm object. This method creates form info objects that belong to the design of the running script and behave according to its settings. Inside custom TMLScript objects you should use Design.createFormInfo() instead, using the design context of your object, so the created form info belongs to the design your object originates from. For backward compatibility there still is a method "createFormInfo()" available on TMLContext whose use is discouraged since OpenWGA 5.3. |
Parameters |
formid (String): ID of the form to create |
Return value |
A new FormInfo object |
Allowed in script types |
|