Changing detail section height

  • Thread starter Thread starter Max Moor
  • Start date Start date
M

Max Moor

Hi All,
I have a form for which I want the detail section to change height
with the height of the thing I have displayed there. I'm trying this in
Visual Basic. I try to set Me.Detail.Height = XXX, but nothing happens.
I've set CanGrow and CanShrink to yes.

Is this one of those things you can only do in design view? If so,
what is the simplest code to hide the form, switch to design views, and
make it visible again, without closing it? If this isn't the answer, can
anyone give me any clues about why it doesn't change?

Max
 


Thanks Stephan. It turns out that the detail height was changing, but the
form size was not. I assumed, innorrectly, that the height of the complete
form was magically made from the heights of all the sections together. I
didn't realize their was an InsideHeight property for the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top