March 11, 20187 yr 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.
March 11, 20187 yr 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.
March 12, 20187 yr Author Yep that works. So does FromLeft mean from left of window? I thought it meant from screen left. Thanks for the help.
March 12, 20187 yr Left is from edge of window measured from left edge of screen. Your adding to it the width of the current window + any margin.
Create an account or sign in to comment