Is there a way ...
Posted: Sat May 03, 2014 1:31 am
To tell where I am at currently percentage wise of filling out a page on a device?
For example am I past a viewable page size (maybe 150%) for this device or 25% there or 75% of a page (say portrait). The reason I ask is that I prefer to "fill" the page for a table and have the page stay "in place" and scroll thru the table rows. But if I am already past or near the end of the device page there is no room to scroll or in some cases cannot even get to the remainder of the form (especially on a small device). I am running into this with multiple forms as it becomes more complex with multiple tables. I suppose I could just define the acceptable percentage of the display for each table and calculate the height as a percentage of device pixel height.
Guess I answered this myself lol. Layout_Height('Fit,,' + (#Com_owner.DevicePixelHeight * .15).AsString) seems to work just sizing the percentage (.15 as needed for max)
For example am I past a viewable page size (maybe 150%) for this device or 25% there or 75% of a page (say portrait). The reason I ask is that I prefer to "fill" the page for a table and have the page stay "in place" and scroll thru the table rows. But if I am already past or near the end of the device page there is no room to scroll or in some cases cannot even get to the remainder of the form (especially on a small device). I am running into this with multiple forms as it becomes more complex with multiple tables. I suppose I could just define the acceptable percentage of the display for each table and calculate the height as a percentage of device pixel height.
Guess I answered this myself lol. Layout_Height('Fit,,' + (#Com_owner.DevicePixelHeight * .15).AsString) seems to work just sizing the percentage (.15 as needed for max)