madman411 Posted February 9, 2013 Posted February 9, 2013 i am creating my own dialogue boxes for my database. i want the new windows to position in the center of the original layout on screen. the 'distance from top' and 'distance from left' options are great, but they reposition based on the edge of the monitor rather that the active filemaker file. i'm assuming a calculation in these fields will solve this... how would i go about this?
doughemi Posted February 9, 2013 Posted February 9, 2013 See the Get(WindowWidth), Get(WindowHeight), Get(WindowLeft) and Get(WindowTop) functions. If your dialog window is 300px wide, your horizontal position would be Get(WindowLeft) + (Get(WindowWidth)-300)/2 . 1
Recommended Posts
This topic is 4304 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now