Subscriber portal
Increases the number of references to a FormRun object.
public void detach()
The increase in the number of references to a FormRun object prevents the release of object memory during garbage collection when the FormRun object goes out of scope.
Call the detach method to display a run-time form.
The following example shows a call to the detach method.
void runForm(Form form) { Args args; FormRun formRun; args = new Args(); args.object(form); // Create the run-time form. formRun = new FormRun(Args); formRun.run(); formRun.detach(); }