We have an application that we added resizing to. Our users like to sometimes open 2 windows and look at them at once and this always worked before we added resizing. If you run the application now (with the resizing in it) in the PB IDE and snap it to the side in Windows (drag the it to one side of the screen until it snaps to the side and fills up half the screen), it resizes correctly. If you do it in the executable, it will stay the same size and cut off half the screen (see attachment below). Is there a way to get it to resize? Thank you!
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- App does not resize when snapped to Windows edge
- Libby Engelbret
- PowerBuilder
- Wednesday, 13 September 2023 13:10 PM UTC
- Wednesday, 13 September 2023 13:47 PM UTC
- PowerBuilder
- # 1
The "Snap Assist" functionality is a feature of Windows, not PowerBuilder.
Is this feature in Windows turned on? Open the Settings window in the Windows O/S, then System, then Multitasking:
(I currently have this feature disabled on my system.)
Best regards, John
- Wednesday, 13 September 2023 14:22 PM UTC
- PowerBuilder
- # 2
Thank you for your reply. Yes, it's turned on, and I'm aware that it is Windows functionality. It used to work correctly before we added resizing. In other words, if you snapped it to the side the screen would resize by half. Now it doesn't do that (see attachment).
- John Fauss
- Wednesday, 13 September 2023 14:42 PM UTC
Let's start here: Can you please elaborate on what "we added resizing" means? What code was added/changed, in what window events? Was this code borrowed from somewhere else or developed in-house? Are you snapping an MDI frame window or some other type? What version/release/build of PB are you using?
-
Helpful Loading... Helpful 0
- Wednesday, 13 September 2023 18:17 PM UTC
- PowerBuilder
- # 3
Hi Libby;
First of all & most importanltly ...
- O/S version & build
- PB version & build
- M-Code or P-Code compiled
- Hardware proifile
- Dual Monitors
- etc?
Regards ... Chris
- Wednesday, 13 September 2023 18:37 PM UTC
- PowerBuilder
- # 4
Thanks for the responses. I think I have figured out the issue. We are resizing the window to a specific size. If the user then maximizes the window and then snaps it to the edge, it will resize correctly. So, we're just going to ask them to maximize first. Thanks!
- John Fauss
- Wednesday, 13 September 2023 19:06 PM UTC
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.