Can Grow

1

123

I have many control in my report detail and all control can grow = yes and
detail also can grow =yes
my problem is I want all control take same height for example If one text
box contain larage text all text also take same height.
thank you
I have try used this code
Dim ctltxt As Control
For Each ctltxt In Me.Controls
If ctltxt.ControlType = acTextBox Then
With ctl
..Height = Detail.Height
End With
End If
Next ctltxt
Set ctltxt = Nothing
but not work
 
S

Stephen Lebans

The simplest solution is to remove the borders for all of the existing
TextBox controls and render the borders programmatically at runtime
using the Line method of the Report object.
See the two solutions here. Start with the older non class based
solution at the bottom of the page.
http://www.lebans.com/PrintLines.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
1

123

I have found treasure in this data base (printlinesVer19.mdb) (many example)

My report work excellent.

Thank you
 

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