Scrollbar Positioning Question (1 Viewer)

modest

Registered User.
Local time
Today, 04:50
Joined
Jan 4, 2005
Messages
1,220
Wondering if anyone found a solution to this yet:

Code:
'Put cursor at the end of the text box
   Me.txtBoxName.SetFocus
   Me.txtBoxName.SelStart = Len(Me.txtBoxName)

The problem now is that even if 2/3 of the textbox is whitespace, the scrollbar still scrolls to the bottom of the box.

Anyone know how to position the bar back to the top, but still have the cursor at the end of the textbox? If someone wants to help me out and fiddle with the API, I feel the answer is somewhere in the solution at this link:
http://www.thescripts.com/forum/thread349470.html


Thanks,
modest/vol7ron
 
Last edited:

Users who are viewing this thread

Top Bottom