delphi 滚屏

滚屏
 
uses MSHTML;
var
    a: IHTMLDocument2;
    x,y:Integer;
begin
    y:=y+20;   //加减进行上下滚动
    a :=WebBrowser1.Document as IHTMLDocument2;
    a.Get_ParentWindow.Scroll(x,y);
end;




posted @ 2014-08-01 18:04  XE2011  阅读(242)  评论(0编辑  收藏  举报