J
Jack Leach
Might anyone happen to know if it's possible to get the size (in any format)
of the *usable* part of the access window (I believe this is the referred to
as the Client?).
I'm trying to determine the maximum sized form I can fit in the Access
window without scrollbars. I've worked around this in the past by making the
main form large enough to overrun the access window but disabling scrollbars.
Now, though, I want to base other controls (subform) on the height of the
main form (I have a list of custom controls used for navigation in a top-down
format, and want to fit as many as possible based on the computer's screen
resolution).
So I can get the Screen, no biggie... but that leaves a buffer for the start
menu (which will vary depending on autohide or fixed), a buffer for the bar
at the top of the access window (the one with the control box... forget the
actual name of it), and a buffer for the one menubar that is fixed directly
below that.
I've done this using guesswork before, but would really like to get this
nailed down accurately.
I assume that the top bar (with the control buttons) and probably the menu
bar both have a *specific* value (be it in twips, pixels, or some other
convertable unit). If I remember correctly, the start menu is sizable, but
in a specified increment, so I'm hoping I can come up with a fixed number for
that as well.
Any ideas on where I might come up with this information? BTW...
DoCmd.Maximize is not an option. I've searched Dev's MVPS.org and
Lebans.com, but have not found the information I'm looking for. Web searches
have proven futile.
Thanks for any pointers.
--
Jack Leach
www.tristatemachine.com
"I haven''t failed, I''ve found ten thousand ways that don''t work."
-Thomas Edison (1847-1931)
of the *usable* part of the access window (I believe this is the referred to
as the Client?).
I'm trying to determine the maximum sized form I can fit in the Access
window without scrollbars. I've worked around this in the past by making the
main form large enough to overrun the access window but disabling scrollbars.
Now, though, I want to base other controls (subform) on the height of the
main form (I have a list of custom controls used for navigation in a top-down
format, and want to fit as many as possible based on the computer's screen
resolution).
So I can get the Screen, no biggie... but that leaves a buffer for the start
menu (which will vary depending on autohide or fixed), a buffer for the bar
at the top of the access window (the one with the control box... forget the
actual name of it), and a buffer for the one menubar that is fixed directly
below that.
I've done this using guesswork before, but would really like to get this
nailed down accurately.
I assume that the top bar (with the control buttons) and probably the menu
bar both have a *specific* value (be it in twips, pixels, or some other
convertable unit). If I remember correctly, the start menu is sizable, but
in a specified increment, so I'm hoping I can come up with a fixed number for
that as well.
Any ideas on where I might come up with this information? BTW...
DoCmd.Maximize is not an option. I've searched Dev's MVPS.org and
Lebans.com, but have not found the information I'm looking for. Web searches
have proven futile.
Thanks for any pointers.
--
Jack Leach
www.tristatemachine.com
"I haven''t failed, I''ve found ten thousand ways that don''t work."
-Thomas Edison (1847-1931)