Compartir a través de


ObjectRun.detach Method

Definition

Allows focus to be switched between windows.

public:
 virtual void detach();
public virtual void detach ();
abstract member detach : unit -> unit
override this.detach : unit -> unit
Public Overridable Sub detach ()

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.

Applies to