Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4304 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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 .

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.