Get(LayoutViewState)

Category: Get

Syntax: Get ( LayoutViewState )

Parameters: None

Data type returned: Number

Description:

Returns a number that represents the view mode for the current layout in the active window.

Get (LayoutViewState) is useful in scripts to test the state of the current layout. Unless a layout has been restricted not to be viewable in another state, users can manually change the state of the current layout, provided they have access to menu commands. You can detect whether the layout is in the proper state, and if necessary, change it with the View As script step.

Examples:

Get (LayoutViewState) returns 0, 1, or 2, depending on the current layout's view state:

0 = View as Form

1 = View as List

2 = View as Table






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