Scroll bars in text box ???

  • Thread starter Thread starter David
  • Start date Start date
D

David

I have a text box for a 200 character text field.
I designed the form and it works ok.
However, as soon as I click in the box, scroll bars
appear. If there is data in the box, the scroll bars
appear even when the data is only one character.

Is there any way to stop the scroll bars appearing unless
the data actually needs scrolling, i.e. it does not all
fit in the box.

I'd rather not make the box bigger as this is a continuous
form and to do so will necessitate lots of unnecessary
scrolling up and down.
 
I have a text box for a 200 character text field.
I designed the form and it works ok.
However, as soon as I click in the box, scroll bars
appear. If there is data in the box, the scroll bars
appear even when the data is only one character.

Is there any way to stop the scroll bars appearing unless
the data actually needs scrolling, i.e. it does not all
fit in the box.

I'd rather not make the box bigger as this is a continuous
form and to do so will necessitate lots of unnecessary
scrolling up and down.
An alternative to the scroll bars might be to use a zoom box in the
double click event.

Private Sub txtBox_DblClick(Cancel As Integer)
DoCmd.RunCommand acCmdZoomBox
End Sub

- Jim
 
Back
Top