Share via


ObjectRun.detach Method

Allows focus to be switched between windows.

Syntax

public void detach()

Run On

Called

Remarks

For example, a new form is created from an existing form by calling the new form's run method. Calling a run method changes the focus to the new form. Calling the detach method allows the user to return to the first form without closing the second form.

Calling the ObjectRun.attach Method method reverses the effects of the detach method.

See Also

ObjectRun Class

FormRun.detach Method