Get(WindowMode)

Category: Get

Syntax: Get ( WindowMode )

Parameters: None

Data type returned: Number

Description:

Returns a number that indicates in what mode the active window is.

Returns 0 for Browse mode.

Returns 1 for Find mode.

Returns 2 for Preview mode.

Returns 3 if printing is in progress.

Notice that this function can never return a value indicating that a window is in Layout mode. If a script ever attempts to operate within the context of a window that is in Layout mode, the window is automatically switched to Browse mode and the script continues as expected.

Examples:

Function

Results

Get (WindowMode)

Assuming a window is in Browse mode, returns 0.






FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net