> no, your assumption is no correct.
>
> The width and height dimension are normally determined at design time by
> the form's size needed to display your controls.
> The inside dimension reflects the inner size of the viewable region of
> the window and it can be, that your designed form size is greater than
> the current inner window size. In this case you will see the scrollbars
> and me.width/-height is greater than insidewidth/-height.
>
> Keep in mind, that there also exists some autosize features that will
> influence the sizing of your form, at least the accesss option for
> overlapped forms and the layout feature in newer access versions.
>
> Ulrich
>
>
Thanks again.
What I am trying to do - its a bit complicated
I have 3 continuous forms that I need to display on different sized screens.
These are Transactions, Expected Debits and Expected Credits
Basically there is a large form in the left taking up pretty well all the
height and 3/4 of the screen On the right are 2 identical forms, one below
the other, but with different RecordSources, so their lengths vary depending
on the number of records.
I use ShrinkerStretcher from Peters software to size the forms to fit the
Access window size. This works well. Using the Transaction form width, I can
position the Expected Debits form to the right of the Transaction form at the
top of the screen, and the Expected Credits immediately below that.
I then need to adjust the height of the form so that, if there is enough
room, the vertical scrollbars vanish, and that is where the problem comes.
On the Expected Debits form,
FrmHeight = (Me.FormHeader.Height + Me.FormFooter.Height + Me.Detail.Height *
(RecCount + 1)) + 975 DoCmd.SelectObject acForm, Me.Name
DoCmd.MoveSize TransFormWidth, 0, SpaceForDDForm - 150, FrmHeight
Again this works though not 100% depending on the Access area. The 975 is
kludge
On the Expected Credits form,
FrmHeight = (Me.FormHeader.Height + Me.FormFooter.Height + Me.Detail.Height *
(RecCount + 1)) + 1110 DoCmd.SelectObject acForm, Me.Name
DoCmd.MoveSize TransFormWidth, 0, SpaceForDDForm - 150, FrmHeight
Again this works though not 100% depending on the Access area. The 1110 is
kludge
Why 975 works for one and I have to use 1110 for the other is beyond me.
In addition, even though the forms are not updateable, I seem to have to
leave enough space between the last record and the footer to stop the
scrollbars showing, hence the RecCount + 1
Any further thoughts please?
Phil