Please help me in positioning the scroll bar at the bottom of text.
Please help me by providing the code snippet.
dinilkarun
8
Posting Whiz in Training
Recommended Answers
Jump to PostPrivate Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long Const WM_VSCROLL = &H115 Const SB_BOTTOM = 7 Private Sub Text1_Change() SendMessage Text1.hwnd, WM_VSCROLL, SB_BOTTOM, 0 End Sub
Jump to Postthat's how it's done.... maybe you put the code in the wrong place.
All 7 Replies
svg77
0
Newbie Poster
dinilkarun
8
Posting Whiz in Training
Comatose
290
Taboo Programmer
Team Colleague
dinilkarun
8
Posting Whiz in Training
Comatose
290
Taboo Programmer
Team Colleague
dinilkarun
8
Posting Whiz in Training
Comatose
290
Taboo Programmer
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.