This is just a sample to ask you if this is what you want.Code:Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long Private Const EM_SCROLL = &HB5 Private Const SB_LINEDOWN = 1 Private Const SB_PAGEDOWN = 3 Private Sub cmdPageDown_Click() Call SendMessage(Text1.hwnd, EM_SCROLL, SB_PAGEDOWN, 0&) End Sub Private Sub cmdLineDown_Click() Call SendMessage(Text1.hwnd, EM_SCROLL, SB_LINEDOWN, 0&) End Sub
Well, is it?




Reply With Quote