Phantom Documentation

[Help Home] [Phantom Home]
SetActive

window.SetActive();

Applicable Classes: MainWin

Parameters: None.
Return Value: None

Description:
Activates the window.  This has the effect of highlighting the window for user input and bringing it to the top of the z-order. If another window is on top of the calling window, the calling window will be moved to the top.


Example Code

# Include Phantom Target Declarations
use "PhantomTarget.dec";
System("PhantomTarget.exe");

# Set PhantomTarget as Active
PhantomTarget.SetActive();
disp(PhantomTarget.IsActive());

# Exit out
PhantomTarget.Close();



See Also: MainWin Functions, IsActive


Copyright 2000-2011 Phantom Automated Solutions