textbox with scrollbar and not focus

R

Richard Kurzban

Is there a way to have the scrollbar in a text box always be displayed even
if the textbox does not have focus? Also is there away not to have reverse
video when the text box first gets focus?
 
J

Jim/Chris

I don't know about the scroll bar but here is the answer to
your second question.

Private Sub txtEmpLN_GotFocus()
Me.controlname.SelStart = 0
End Sub

Or

Me!controlname.SelStart = Me!controlname.SelStart

Jim
 

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

Similar Threads

Always show scrollbar in text box 2
set focus 1
Resetting Horizontal Scrollbar 1
Changing the focus 2
Set Focus after Undo 2
setting focus 1
horizontal scrollbar on listbox 2
Refresh unbound textbox 5

Top