J
JonWayn
I have searched the web for a solution on centering forms in Access but every
answer suggests using the AutoCenter property of the form. Well, in my
particular case, that doesnt work. See, I am opening a form, and in the Load
event of the form, I am adjusting the size of the form based on the amount of
text passed into the OpenArgs property, which is displayed on a label. So, to
rephrase the question:
How do I determine the new positions (Left and Top) of a form, given the
Width and Height of said form. I assume I need to somehow find the dimensions
of the screen in order to place the form, but how?
Thanks
answer suggests using the AutoCenter property of the form. Well, in my
particular case, that doesnt work. See, I am opening a form, and in the Load
event of the form, I am adjusting the size of the form based on the amount of
text passed into the OpenArgs property, which is displayed on a label. So, to
rephrase the question:
How do I determine the new positions (Left and Top) of a form, given the
Width and Height of said form. I assume I need to somehow find the dimensions
of the screen in order to place the form, but how?
Thanks