Get(WindowStyle)
Purpose
Returns the style of the window on which the script is acting.
Format
Get(WindowStyle)
Parameters
None
Data type returned
number
Originated in
FileMaker Pro 12.0
Description
Returns:
•0 (zero) if the window is a document window
•1 if the window is a floating document window
•2 if the window is a dialog window
Note The window on which the script is acting may not necessarily be the foreground window.
Examples
Returns 0 if the current window is a document window when the function is evaluated.
Returns 1 if the current window is a floating document window when the function is evaluated.
Returns 2 if the current window is a dialog window when the function is evaluated.
Related topics