Full Version: show end of textbox Always
UtterAccess Forums > Microsoft® Access > Access Forms
fullyunknown
I was wondering how do i get the text box to stay showing where ver i left on reading in it and not go back to the top?
For example, I scroll to bottom to look at certain info. However, soon as i leave the textbox it jumps back up to the top. I just want it to stay looking at exactly where i left it prior to leaving the textbox
missinglinq
The title of you thread asks for one thing and the text of your thread for another!
know of no way to have the cursor return to the position it was at when the control last had focus, but always going to the end is easy:
CODE
Private Sub YourTextboxName_Click()
  YourTextboxName.SelStart = Len(Me.YourTextboxName)
End Sub
Private Sub YourTextboxName_GotFocus()
  YourTextboxName.SelStart = Len(Me.YourTextboxName)
End Sub
fullyunknown
What i am referencing to is this...
    |-----------------------|
    | Start |
    | |
    | Middle |
    | |
    | |
    |-----------------------|
    End cant be seen until you scroll
    LICK IN TEXT BOX AND SCROLL TO BOTTOM
    |-----------------------|
    | Middle |
    | |
    | End |
    | |
    | |
    |-----------------------|
    now when i click out of textbox I want it to continue to show
    |-----------------------|
    | Middle |
    | |
    | End |
    | |
    | |
    |-----------------------|
    and not go back to
    |-----------------------|
    | Start |
    | |
    | Middle |
    | |
    | |
    |-----------------------|
fullyunknown
SOLVED... Had to use listbox and subform
This is a "lo-fi" version of UA. To view the full version with more information, formatting and images, please click here.