Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Height of a textbox after it is grown with "CAN GROW"

Status
Not open for further replies.

OOzy

Programmer
Jul 24, 2000
135
SA
Dears,

I have a textbox in report with "Can Grow" is set to "YES". How can i find its height.
 
This works, but I am not sure if it will do what you want.

Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
With Me.Controls("memoTest")
MsgBox "Name = " & .Name & " Height = " & .Height
End With
End Sub
 
How are ya OOzy . . .

The problem is that record to record, the textbox can be different sizes according to data. Are you accounting for this?

Calvin.gif
See Ya! . . . . . .
 
Hmmm,

I need the size of the text box after it is grown.
 
Oozy,
My code does exactly that, did you run it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top