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

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

Recommended Posts

Posted

I’m working in a database that needs to be moved to the top of the display when a certain layout is entered. Obviously I’m using a OnLayoutEnter trigger to call a script including the step Move/Resize Window [Current Window; Top: 0]. Unfortunately, this doesn’t work reliably because almost every user has a multi-display setup and places the database on the larger (not necessarily primary) display. So, when it sets the window top to 0, it uses 0 from the primary display, which is only very rarely identical to 0 on the display where the window actually resides.

 

Anyone have any bright ideas for moving the window to 0 on the relevant display?

 

(Note: cross-platform, FM13 solution.)

Posted

What about using get(WindowTop) and get(WindowLeft) and setting the position relative to those values?

This topic is 3678 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.