回复 5楼 su0527
是不是这意思,点击cmd
DECLARE LONG SendMessage IN User32 LONG, LONG, LONG, LONG
of = CREATEOBJECT("_form")
of.show(1)
RETURN
DEFINE CLASS _form as Form
ScrollBars = 3
ADD OBJECT cmd as commandbutton WITH top=10,left=10
ADD OBJECT text1 as textbox WITH top=100
ADD OBJECT text2 as textbox WITH top=1000
PROCEDURE cmd.click
SendMessage(thisform.hWnd, 0x0115,1,0)
this.Top = this.Top + thisform.VScrollSmallChange
ENDPROC
ENDDEFINE