How to stop Dialog moving out of client area of a Window
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Hi all
1) Is there any way to disable the "Move" from the System Menu of a
Dialog box ?
2) Can we ristrict a dialog movement beyond the Client area of a Window.
I tried in this way:
oDlg:bMoved := {|| oDlg:Move(72,4), SysRefresh() }
The Dialog box became movable beyond the client area, even though
the "DEFINE DIALOG oDlg OF oMainWindow:oClient" clause is used.
When the dialog is moved beyond the client area, the screen
underneath the dialog is getting erased and could not be restored.
Can anybody guide me to solve the above problem(s).
- Ramesh Babu P
1) Is there any way to disable the "Move" from the System Menu of a
Dialog box ?
2) Can we ristrict a dialog movement beyond the Client area of a Window.
I tried in this way:
oDlg:bMoved := {|| oDlg:Move(72,4), SysRefresh() }
The Dialog box became movable beyond the client area, even though
the "DEFINE DIALOG oDlg OF oMainWindow:oClient" clause is used.
When the dialog is moved beyond the client area, the screen
underneath the dialog is getting erased and could not be restored.
Can anybody guide me to solve the above problem(s).
- Ramesh Babu P