Making controls the same height

  • Thread starter Anatoly Kurilin
  • Start date
A

Anatoly Kurilin

Hi, I set the property CanGrow of controls in the detail section equal to
true and now they have different heights. Is it possible to make they
heights equal to the height of the tallest control (actually, height of the
section detail).

Thanks in advance,
AK
 
M

Marshall Barton

Anatoly said:
Hi, I set the property CanGrow of controls in the detail section equal to
true and now they have different heights. Is it possible to make they
heights equal to the height of the tallest control (actually, height of the
section detail).


No, you can not make the controls the same height.
Actually, I don't think you care about the height of the
controls. You probably want the controls' borders to line
up as if they were some kind of a can grow data grid. Since
Access does not have that capability, you have to use the
alternative approach of setting the controls' BorderStyle to
Transparent. Then use the Line method in the section's
Print event to make the grid lines. Check out the
PrintLines db at www.lebans.com for a complete solution.
 

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

Top