"(PeteCresswell)" <x@y.Invalid> wrote
Quote:
Here's a mini-db that contains the form:
http://tinyurl.com/24ytz5u
Access 2003.
File goes "Poof" on 10/27/2010.
Problem is that when Form_Resize kicks in, sometimes the rendered
form looks OK, but other times there is an undesired white space
at the bottom of the form.
Note that the area of the form being resized is the Header.
I'm pretty sure reveals some basic misunderstanding of what
objects to size by Yours Truly.
Can anybody tell me where I'm going wrong?
--
PeteCresswell |
Don't feel lonely there, Pete. What little work I've done with form
re-sizing quickly demonstrates how little I know! What little I have
gleaned boils down to: the various dimension properties don't seem to
mean what I expect them to from reading the little bit of explanation
offered by the help text.
The last encounter I had with resizing a form led me to the help for the
Form.InsideHeight Property (2010) which has an example of how to obtain
the total height required by the form. I quickly discovered that
attempting to reference an undefined section throws a run-time error;
and I was not successful in finding a way to discover whether or not a
particular section was defined or not ... so I had to rely on my
knowledge of the form rather than code a generic routine. I don't know
if referencing the individual section height properties might help you
or not.
I was interested to note your "fudge factor" constant!
I'll be watching with interest to see what responses you get.
--
Clif McIrvin
Change nomail.afraid.org to gmail.com to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)