1. galina buslovich
  2. PowerBuilder
  3. Thursday, 17 November 2022 17:01 PM UTC

When the application (MDI) is run it is docked to the upper left corner of the screen and cannot be moved around. How do I allow users to move it around screen (floating instead of docked)? Also Word based spell check popup comes behind the open application.

John Fauss Accepted Answer Pending Moderation
  1. Friday, 18 November 2022 00:46 AM UTC
  2. PowerBuilder
  3. # 1

Hi, Galina -

Is it possible that the MDI frame window has been maximized? When maximized, the window cannot be moved by dragging the title bar. Taking the window out of its maximized state should allow you to move it around.

Best regards, John

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 17 November 2022 18:39 PM UTC
  2. PowerBuilder
  3. # 2

Hi Galina;

  By default - the MDI Frame window type cannot allow you to remove its title bar nor does it snap/dock to any MS-Window location by it's design nature. Thus, what you are describing is impossible - unless...

  • You have code in the MouseMove event that is cancelling the Window movement
  • You have code in the other event that is cancelling the Window movement
  • The frame is maximized.
  • You have used MS-Windows SDK calls to change the Window type behaviour at runtime
  • You have used MS-Windows SDK calls to remove the Window Title bar at runtime
  • You did not use the normal  Open() command to present the MDI frame to the App user.

Regards ... Chris

Comment
  1. galina buslovich
  2. Tuesday, 22 November 2022 15:29 PM UTC
In the original application the frame was of mdihelp! type (PB09). I changed it to mdidockhelp! and now it is moving.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 22 November 2022 16:15 PM UTC
Hi Galina;

Note that MDIDock! & MDIDockHelp! window types have been deprecated and no longer supported in PB 2021 & higher.

Regards ... Chris
  1. Helpful
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.