SetActive Method (MoveableWin)

Class

MoveableWin.

Action

Makes the window active.

Syntax

window.SetActive ( )

Notes

SetActive makes the window active, if it is not already. Only top-level windows (such as main windows) and windows that can be moved or resized (such as dialogs) can be made active.

For windows, the window to be activated can also be an MDI child window.

Example

	[-] if (TextEditor.Exists ())
		[ ] TextEditor.SetActive () 
	[-] else
		[ ] TextEditor.Invoke ()