N
None
Anybody know a call get a form's original design time dimensions in an event
procedure after it's been resized?
Thanks!
Jess
procedure after it's been resized?
Thanks!
Jess
None said:Anybody know a call get a form's original design time dimensions in an event
procedure after it's been resized?
None said:Thanks for idea; I should have been a little more specific - I'm writing a
routine that will work across all the forms in my application and so I
didn't want a to keep track of all the dimensions for every form. It just
seemed a little more elegant if there was a nice call or property that I
could access?
Marshall Barton said:None said:I guess what I'm asking is if there is something analagous to say:
forms!someForm.windowHeight
but for the original design-time dimensions that I can call within any
event.
Your original idea of storing a copy of this information when a form loads
will work fine; however, I was just wondering if there was a way to get this
information "on demand" with a simple call. I could write a more general
routine that will work across all forms without having to setup the extra
variables and code in each existing form as well as future forms.
There's nothing I know of that remembers the original values
of the form dimensions. The only thing I can think of that
could do that is if you created your own (design time)
procedure that cycled through all your forms and recorded
those values in a table that you could later use at run time
to get the values.
--
Marsh
MVP [MS Access]
writing
a