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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vertical scroll bar not appearing in textbox

Status
Not open for further replies.

tedmillerx

Programmer
Jan 6, 2001
52
US
I've seen a similar issue posted back in '04, but there wasn't a solution that helped me, so...

I'm in Access 2002 format. I have a form which contains a textbox. My problem is that no vertical scrollbar is appearing in the textbox, even when not all the text is visible, and even when I have the cursor in the textbox.

I have 'Scroll Bars' set to 'Vertical'.
I have 'Scroll Bar Align' set to 'Right'.
'Can Grow' and 'Can Shrink' are of course set to 'No'.
'Enter Key Behavior' is set to 'New Line in Field'.

I can't think of anything else I should be doing to get this to work. Any ideas?

Thanks.
 
AFIK scrollbar appears only when the textbox has focus.
CanShrink, Can Grow properties work only in print/printpreview.

See for API call to resize the textbox.

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
The textbox does have focus, but the scrollbar still isn't appearing.
I don't want to have the box auto resize, because there is no knowing how much text my users will be entering. I really need the scrollbar within the textbox.
 
Create another text box and see if it shows the scrollbar up

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
Thanks! I hadn't thought of trying that, and it worked. I found that the cause of the problem was that I had margins in place on the text box. It seems that the scrollbar will only appear if the margins are set to 0".

I don't suppose there's a way to keep my margins and still have the scroll bar show up, anyone? It just looked a lot slicker with the margins in place.

Thanks for the help though - I'm glad to get those scrollbars back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top