How to get the location of an ABL Dialog-box - Forum - OpenEdge Development - Progress Community

How to get the location of an ABL Dialog-box

 Forum

How to get the location of an ABL Dialog-box

This question is not answered

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
  • 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