sub form size

  • Thread starter Thread starter Mark r
  • Start date Start date
M

Mark r

how can I ensure that a subform will stay small sized even
if the mainform/parent form is maximized?
 
Hi Mark

I don't understand. This is the default behaviour. The subform is limited
to the size of its container control, and this does not change when the size
of the parent form changes, unless you have written clever code in the
Resize event to do it for you.
 
OK good point, I guess I need to describe better.

I have a form, it has continuous forms. each record
displayed is only a half inch deep. and several records
fit on a screen.

on this first form is a command button which opens another
form (I did not actually create a subform and set the
container control sizes.

If the first form is small size, the command button opens
the second form also small. If the first form is maximized
and then you hit the command button ,the second form also
maximizes upon opening.

setting auto size to no doesn't help
putting me,minimize on the on open event property doesn't
help.
-----Original Message-----
Hi Mark

I don't understand. This is the default behaviour. The subform is limited
to the size of its container control, and this does not change when the size
of the parent form changes, unless you have written clever code in the
Resize event to do it for you.
--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

how can I ensure that a subform will stay small sized even
if the mainform/parent form is maximized?


.
 
Ah, now I understand. It's not actually a subform at all, but a linked
form.

Try setting the second form's PopUp property to "Yes".
--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

mark r said:
OK good point, I guess I need to describe better.

I have a form, it has continuous forms. each record
displayed is only a half inch deep. and several records
fit on a screen.

on this first form is a command button which opens another
form (I did not actually create a subform and set the
container control sizes.

If the first form is small size, the command button opens
the second form also small. If the first form is maximized
and then you hit the command button ,the second form also
maximizes upon opening.

setting auto size to no doesn't help
putting me,minimize on the on open event property doesn't
help.
-----Original Message-----
Hi Mark

I don't understand. This is the default behaviour. The subform is limited
to the size of its container control, and this does not change when the size
of the parent form changes, unless you have written clever code in the
Resize event to do it for you.
--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

how can I ensure that a subform will stay small sized even
if the mainform/parent form is maximized?


.
 
Back
Top