Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 12 of 12 total
Thread Target Heart Rate Calculator
Fri, Apr 6 2012 1:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

David,

<< I discovered another weird issue on my iPad. With the iPad in landscape
orientation, the top part of the page is cutoff and cannot be scrolled to.
If I then rotate the iPad 90 degrees to change the orientation, all looks
well. If I then rotate the iPad back 90 degrees so that it is back in
landscape orientation, all looks well. Why would the top part of the page be
chopped off when first displayed? As the page looks perfect when the iPad is
rotated, all of the display info must be there. >>

I checked this out, and it is indeed perfectly normal.  The issue is that
the main form position is set to poDesktopCenter, and the desktop is set to
auto-height and auto-width (Project Options).   What this means is that the
desktop will be automatically resized to fit the screen size on the device.
This is normally no problem.  However, in the case of this project, the main
form's height is much larger than the screen height on the device, so the
top of the form is placed in an area that is negative to the top of the
desktop (due to poDesktopCenter form position).  The solution is to
specifically set the desktop size in the Project Options so that the desktop
is large enough to accommodate the form, or to set the main form's Position
property to poDesktopCenterTop instead.

I'd be willing to hear some input on whether the auto-sizing properties of
the desktop should change in response to a form being shown that "doesn't
fit".

--
Tim Young
Elevate Software
www.elevatesoft.com
Thu, May 10 2012 5:05 AMPermanent Link
 Cancelled Message Cancelled
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image