Re: ShowModal screen position
- From: Andreas Koch <nospam@xxxxxxxxxxxxxxx>
- Date: Tue, 06 Jun 2006 21:13:30 +0200
JamesR wrote:
I'm showing a second form modally through a button on my main form. I
have the position property of the second form set as poMainFormCenter -
but if I have my main form at the edge of the screen, the second form
is shown half hidden (the rest of it is off the screen). I'm thinking
this would be complicated to solve - I.E: to detect whether the form is
shown off the left of the screen or not, and display it accordingly..?
At least in a single screen configuration, you should be able to
figure this out yourself by checking screen.width, screen.height
and form1.width, form1.height before calling the showmodal.
.
- Follow-Ups:
- Re: ShowModal screen position
- From: JamesR
- Re: ShowModal screen position
- References:
- ShowModal screen position
- From: JamesR
- ShowModal screen position
- Prev by Date: ShowModal screen position
- Next by Date: Default browser revisited
- Previous by thread: ShowModal screen position
- Next by thread: Re: ShowModal screen position
- Index(es):