WindowInfo
WindowInfo
Average rating: 4.3 (31 votes) Log in to vote
Todd Dignan Dignan Consulting Inc http://www.dignanconsulting.com |
$$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
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.