2007 Mar 16 1:43 PM
I try to position a dialogbox container right under a popup-screen.
The popup is created via
call screen ... starting at X Y.
So the popup appears with coordinates (X,Y) relativ to the underlying dynpro.
Now I want to display a dialogbox container 'near' that popup. When calling the create object <dailogbox> I can specify some coordinates (parameters left, top).
But these are in pixels and absolute ccordinates on the screen.
So, how can I calculate some coordinates for the dialogbox to get it near the popup?
Thanks for any help.
2007 Mar 16 2:00 PM
mention the "ending at a b" coordinates also.
so that u can know where the pop-up ends.
give the dialoge box coordinates as "a+1 y".
regards,
bharat.
2007 Mar 16 3:26 PM
Hi bharat,
this is not the point (also without the 'ending at' you can get the size of the popup out of sy-srows/sy-scols).
My problem ist the differing reference:
- popup: coordinates are relative to dynpro from which the popup is called
- dialogbox: coordinates are relative to the entire screen, i.e. the upper left corner of the screen (not the dynpro window).
Regards, Martin