Programming Guide > Programming Guide > Creating Dynamic Frames > How You Can Manage Operations with a Control Button
Was this helpful?
How You Can Manage Operations with a Control Button
If you want a Control Button to manage operations on the dynamic table field, create the control button in OpenROAD Workbench as an independent object. Dynamically created table fields, and table fields created in Workbench but changed dynamically, cannot use the script supplied with a control button.
For the script of a table field's control button to be available to a running frame, the script must be compiled before the frame runs. If the table field is created with its variable declared (Variable Declared property set to on), its control button's script is compiled. However, table fields created without declaring the variable (a requirement of dynamically created or modified table fields) are created with empty control button scripts.
Even moving the control button's script into the frame script does not make the script available to the running frame if the table field has been created without declaring its variable.
Last modified date: 12/20/2023