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

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

Recommended Posts

Posted

I am trying to position a new card window on the right edge of the window that it is being opened from. My calc for the FromLeft card setting is (Get (WindowLeft) + Get(WindowWidth). This only works (no gap between windows) when the originating window is all the way to the left of the screen. The more the originating window gets from the left of the screen the larger the gap between the two windows. I have also tried hardcoding the second value Get(WindowLeft) + 80 and it produces the same results.

Not sure why this is not working.

furtherright.jpg

left.jpg

Posted

Try setting $width $left and $top as variables at the top of the script before you open the card then in the card use $left + $width

by the time the card is open your getting the values from the card itself not the parent window.

Posted

Yep that works. So does FromLeft mean from left of window? I thought it meant from screen left. Thanks for the help.

Posted

Left is from edge of window measured from left edge of screen.  Your adding to it the width of the current window + any margin.

 

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