How to get the location of an ABL Dialog-box

Posted by tbergman on 23-Mar-2017 05:38

I'm sure I'm overlooking something simple, but how do I find the location, relative to the screen, of a Progress GUI Dialog-Box?

Thanks

All Replies

Posted by Frank Meulblok on 23-Mar-2017 06:42

The dailob-box (frame) X and Y will be relative to it's parent window, the window's X and Y will be relative to desktop.

So:

dialog X relative to desktop = frame {&frame-name}:X + frame {&frame-name}:parent:X

dialog Y relative to desktop = frame {&frame-name}:Y + frame {&frame-name}:parent:Y

This thread is closed