pierrem Member Licensed User Longtime User Jan 31, 2021 #1 Hi, jfx.screens returns a List with all the screens. Each element in the list is a Screen object How to select one of the returned screen object and/or show on form on it thanks
Hi, jfx.screens returns a List with all the screens. Each element in the list is a Screen object How to select one of the returned screen object and/or show on form on it thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 31, 2021 #2 You need to get the target screen coordinates and then set the form position with Form.WindowLeft and WindowTop. Example: https://www.b4x.com/android/forum/t...results-in-a-second-monitor.57768/post-363562 Upvote 0
You need to get the target screen coordinates and then set the form position with Form.WindowLeft and WindowTop. Example: https://www.b4x.com/android/forum/t...results-in-a-second-monitor.57768/post-363562
pierrem Member Licensed User Longtime User Jan 31, 2021 #3 @Erel Concise and effective, as usual Thanks Erel Upvote 0
pierrem Member Licensed User Longtime User Jan 31, 2021 #4 FYI .... When the secondary monitor is located at the left of primary monitor, secondary.minX is negative In my case, Secondary.maxX & maxY seem to be wrong ... the 2 values are : 3072 x 1068 the monitor is almost 4K, windows10 gives 3840 x 2160 .... I can resize if to fully fill the whole screen ..... Upvote 0
FYI .... When the secondary monitor is located at the left of primary monitor, secondary.minX is negative In my case, Secondary.maxX & maxY seem to be wrong ... the 2 values are : 3072 x 1068 the monitor is almost 4K, windows10 gives 3840 x 2160 .... I can resize if to fully fill the whole screen .....