|
-
August 4th, 2001, 02:12 PM
#1
Multiline Text box control
Hello...
How do I always see the bottom line of a multiline textbox control? I have this textbox (multiline w/ v-scroll bars) and it is locked/disabled for user input (text gets filled programatically) the problem is that as the text box filles up, and more lines are added, they are added at the bottom, and is not viewable, unless the user actually scrolls down. I tried generating a ctrl+end keypress event (RaiseEvent) with focus on the text box, and this did not work (I guess you cannot generate any keypress event, as people could potentially generate a ctrl+alt+del event too..) Anyway, any ideas?
-
August 4th, 2001, 08:23 PM
#2
Re: Multiline Text box control
Try This one
Private Sub Command1_Click()
With Text1
.SelStart = Len(.Text)
End With
End Sub
-
August 5th, 2001, 09:26 AM
#3
Re: Multiline Text box control
Just for a laugh, i've created a self-programming program using generated keypresses! (in IDE only).
you generate the following:
Alt-F4 to exit to IDE
The code you want to add (or even to DELETE! by backspace)
F5 to run
:0)!
----------
The @host is everywhere!
----------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|