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 Specifications

FileMaker 8 Product Line

Specifications and Storage Limits

Field Types and Import/Export Formats

: Calculation Functions

Working with Calculations Primer

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

Script Step Reference

: Quick Reference

FileMaker Error Codes

FileMaker Keyboard Shortcuts

FileMaker Network Ports

FileMaker Server Command Line Reference

FileMaker XML Reference

: Other Resources

Where to Go for More Information



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

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