#WindowExists ( )

Function stats

Average user rating
149
200
9999
Support
FileMaker 9.0 +
Date posted
03 February 2009
Version
1
Recursive function
No

Author Info
 Bill Doerrfeld

1 functions

Average Rating None

author_avatar



 

Function overview

Prototype

#WindowExists  ( _WinName )


Parameters

_WinName  ny alphanumeric value representing the name of the window you're checking


Description

Tags:  Window Management  

Returns true if specified window name exists.

Examples

Sample input

#WindowExists("Contacts")


Sample output

True(1)

 

Function code

/*----------------------------------
HEADER
------------------------------------
Function Name: #WindowExists()
Description: Returns true if specified window name exists.
Parameters:
    _WinName - Any alphanumeric value representing the name of the window you're checking
Result Type: boolean (1, 0)
Recursion: No
Version Number: 1.0
Author: Bill Doerrfeld
Contact: billworld@me.com

------------------------------------
CHANGE LOG
------------------------------------
1.0    Feb 2, 2009    First version

------------------------------------
CODE
------------------------------------*/

Let(
[
$AllWindows = WindowNames(Get(FileName))
];

FilterValues ( $AllWindows ; _WinName ) = _WinName&¶)

// ===================================
/*

    This function is published on FileMaker Custom Functions
    to check for updates and provide feedback and bug reports
    please visit http://www.fmfunctions.com/fid/200

    Prototype: #WindowExists( _WinName )
    Function Author: Bill Doerrfeld (http://www.fmfunctions.com/mid/149)
    Last updated: 03 February 2009
    Version: 1

*/
// ===================================

 

 

 

 

 

 

 

Top Tags

Text Parsing  (33)
List  (32)
Date  (28)
XML  (27)
Format  (23)
Sql  (22)
Dev  (20)
Debug  (17)
Interface  (15)
Layout  (15)
Text  (14)
Variables  (13)
Filter  (12)
Layout Objects  (11)
Design  (10)
Array  (8)