D
DP
Could someone tell me how to resize a control like a label or listbox when
the form opens to be the EXACT same height and width of the forms detail
section?
For reasons important to me, but not essential to describe here, I would
like to open this form in hidden view when I start the database, make sure
that the specific control I have in mind is resized to the exact same height
and width of the form's detail section, and then save the form - without the
user ever seeing it.
I don't know why something like this is not working:
Me.ControlX..height = Me.Section(acDetail).height
Controlx is not resized.
I would also like to program the explicit dimensions of this form the first
time it's open. Just for example, so that everything is, say, 1440 twips
width by 2000 twips height.
This would then, I guess, have to apply to ControlX, the forms Detail
section, AND the form itself (?).
Can anyone help?
Thanks!
the form opens to be the EXACT same height and width of the forms detail
section?
For reasons important to me, but not essential to describe here, I would
like to open this form in hidden view when I start the database, make sure
that the specific control I have in mind is resized to the exact same height
and width of the form's detail section, and then save the form - without the
user ever seeing it.
I don't know why something like this is not working:
Me.ControlX..height = Me.Section(acDetail).height
Controlx is not resized.
I would also like to program the explicit dimensions of this form the first
time it's open. Just for example, so that everything is, say, 1440 twips
width by 2000 twips height.
This would then, I guess, have to apply to ControlX, the forms Detail
section, AND the form itself (?).
Can anyone help?
Thanks!