Frontmost process

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 3


Frontmost process {(*)} Integer

ParameterTypeDescription
*Process number for first non-floating window
Function resultIntegerNumber of the process whose windows are in
the front

Description

Frontmost process returns the number of the process whose window (or windows) are in the front.

When you have one or more floating windows open, there are two window layers:

Regular windows

Floating windows

If the Frontmost process function is used from within a floating window form method or object method, the function returns the process reference number of the frontmost floating window in the floating window layer. If you specify the optional * parameter, the function returns the process reference number of the frontmost active window in the regular window layer.

Example

See the example for BRING TO FRONT.

See Also

BRING TO FRONT, WINDOW LIST.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next