W
wisdomphg
Unregistered / Unconfirmed
GUEST, unregistred user!
以下是一段滚动代码,不能循环滚动,怎么才能让它循环滚动?procedure TForm1.Timer1Timer(Sender: TObject);varm:tmessage;begin m.Msg:=WM_VSCROLL; m.WParamLo:=SB_LINEDOWN; m.WParamHi:=1 ; m.LParam:=0; postmessage(self.DBGrid1.Handle,m.Msg,m.WParam,m.LParam);end;procedure TForm1.Button1Click(Sender: TObject);beginself.Timer1.Enabled:=true;end;