Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Center MessageBox in ViewPort
Thu, Jan 5 2017 10:30 AMPermanent Link

Uli Becker

If the surface is higher than the visible screen, messageboxes are not
centered or even not visible.

I changed the TSurface.MessageDlg procedure in WebForms like that:

....
Layout.Position := lpTopCenter;
Margins.Top := (Application.Viewport.Height - TempDialog.Height) div 2;
....

and that works fine, but I'm sure there is a better way than to hack the
webforms.wbs.



Thanks for any help with that.

Uli
Mon, Jan 9 2017 3:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< If the surface is higher than the visible screen, messageboxes are not centered or even not visible. >>

I'll see what I can do.  There might be some other considerations involved that may prevent this, so I'll have to double-check to see if there are any side effects that I'm missing.

Tim Young
Elevate Software
www.elevatesoft.com
Image