Filemaker Pro 8.5 Educational Maintenance T0 TJ087LL/A User Manual

Product codes
TJ087LL/A
Page of 238
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 
 FileMaker Pro is in at the time the function is 
evaluated: 
0
 for 
1
 for 
2
 for 
3
 if printing is in progress
If a 
, FileMaker Pro switches 
to Browse mode and returns 
0
. If there are multiple windows open in the current 
, 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