Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

Window.Fade

Fades window in or out.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Window 5.4 Yes Yes No No No

MBS( "Window.Fade"; WindowRef; fadeIn { ; NoAnimation; Duration } )

Parameters

Parameter Description Example value
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0
fadeIn Pass 1 to fade in or 0 for fade out.
NoAnimation Optional
Whether to avoid animation. Pass 1 to disable animation. Default is 0 to allow animation.
0
Duration Optional
The duration in seconds. Can be a value between 0.1 and 5.0.
0.5

Result

Returns OK or error.

Description

Fades window in or out.

On Windows fading child windows does not work currently.

Examples

Fade out:

Set Variable [ $r ; Value: MBS( "Window.Fade"; 0 /* current window */; 0 /* fade out */; 0; 1 ) ]

Fade in:

Set Variable [ $r ; Value: MBS( "Window.Fade"; 0 /* current window */; 1 /* fade in */; 0; 1 ) ]

See also

Example Databases

Created 17th November 2015, last changed 27th August 2017


Window.EnableScrollbars   -   Window.FindByIndex

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins