Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Position of dialogbox container relativ to popup screen

Martin-S
Employee
Employee
0 Kudos
325

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.

2 REPLIES 2

Former Member
0 Kudos
148

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.

0 Kudos
148

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