Brian Dunning's FileMaker Custom Functions

WindowInfo

WindowInfo

  Average rating: 4.3 (31 votes) Log in to vote

Todd Dignan   Todd Dignan
Dignan Consulting Inc
http://www.dignanconsulting.com

Share on Facebook Share on Twitter

  Sample input:
Set Variable [$result; Value:WindowInfo]
  Sample output:
Sets the Variables

$$window_height = 12
$$window_width = 24
$$window_top = 100
$$window_left = 300

returns null

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Used in a script step "Set Variable [$result; Value:WindowInfo]". This will set the global variables $$window_height, $$window_width, $$window_top and $$window_left with attributes of current active window. This was create for use with the custom function CenterWindow in Window vert horiz ( dimension ).

You could add some error coding return a 1 for success or 0 for failure.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.