Chapter 7
|
Get functions 123
Examples
Returns 52 when the outer edge of the active window is 52 pixels from the left edge of the
screen.
Returns 0 when the active window is 0 pixels from the left edge of the screen.
Get(WindowMode)
Format
Get(WindowMode)
Parameter
None
Data type returned
number
Description
Returns a number representing the mode FileMaker Pro is in at the time the function is
evaluated:
• 0 for Browse mode
• 1 for Find mode
• 2 for Preview mode
• 3 if printing is in progress
If a script using this function runs while the file is in Layout mode, FileMaker Pro switches
to Browse mode and returns 0. If there are multiple windows open in the current database
file, each window can have its own window mode value, but results are returned for only
the foreground window.
Note See FileMaker Pro help for information about running scripts in client/server and
peer-to-peer environments.
Example
Returns 2 if the file is in Preview mode when the function is evaluated.
Get(WindowName)
Format
Get(WindowName)
Parameter
None
Commentaires sur ces manuels