Hi, I just noticed an issue with the windows restore function I've been using without any problems for the past 10 years in PB10.5 and PB2017. It seems that the Move function for a popup works differently in PB2019R3 when using multiple monitors. In PB10.5 or PB2017 I could use w_popup.Move(0,0) and it would always move it relative to the virtual screen position. Now with PB2019R3 it seems to move it relative to the screen the opening window is on. e.g if the Parent window is on the first screen the popup will open at 0,0 (i.e the top left of the first/primary monitor). But if the parent window is on the second screen it will open at 8777,0 (i.e the top left of the second monitor). I've seen a few bugs with similar sounding issues, but they all seem to be resolved.
I just wanted to check whether anyone else has encountered this issue, or whether it is a deliberate change? I've only noticed it on one particular screen in my application at the moment, but I wanted to check if it is a know issue before investigating further. I'm using Version 19.2.0.2728
Thanks.
If I add this code in the Open event of a popup (or response) window
this.Move(100, 100)
or even if I set the X and Y properties of the popup window at design time to 100, when the popup window opens it will be positioned at 100, 100 relative to the screen the parent window is on, rather than the absolute 100,100 of the virtual screen. I can set it after it has been opened, but it doesn't work if the code is in the Open event or set at design time.
e.g. On my pc, with two 1920 x 1080 monitors, if the parent window is on the first monitor the popup will open at 101,100, but if the parent window is on the second monitor the popup will open at 8878,100