1. Libby Engelbret
  2. PowerBuilder
  3. Wednesday, 13 September 2023 13:10 PM UTC

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!

Attachments (1)
Libby Engelbret Accepted Answer Pending Moderation
  1. Wednesday, 13 September 2023 18:37 PM UTC
  2. PowerBuilder
  3. # 1

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!

Comment
  1. John Fauss
  2. Wednesday, 13 September 2023 19:06 PM UTC
Glad to hear you figured out a solution, Libby! Thank you for sharing the answer.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 13 September 2023 18:17 PM UTC
  2. PowerBuilder
  3. # 2

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

Comment
There are no comments made yet.
Libby Engelbret Accepted Answer Pending Moderation
  1. Wednesday, 13 September 2023 14:22 PM UTC
  2. PowerBuilder
  3. # 3

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).

Comment
  1. John Fauss
  2. Wednesday, 13 September 2023 14:42 PM UTC
OK. A reasonable conclusion is there is something not entirely correct with the resizing functionality that has been added.

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?
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 13 September 2023 13:47 PM UTC
  2. PowerBuilder
  3. # 4

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

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.