首页 > 代码库 > delphi 滚屏

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;


来自为知笔记(Wiz)