本文整理自网络,侵删。
WebBrowser1实现滚屏
uses MSHTML;var a: IHTMLDocument2; x,y:Integer;begin y:=y+20; //加减进行上下滚动 a :=WebBrowser1.Document as IHTMLDocument2; a.Get_ParentWindow.Scroll(x,y);end;复制代码
相关阅读 >>
Delphi中tapplicationevents控件的用途与使用方法
Delphi dateof、timeof、yearof、monthof、weekof、dayof、hourof、minuteof、secondof、millisecondof �c 提取时间成分
Delphi中exit,abort,break,continue 的区别
Delphi 是否是闰年- isleapyear、isinleapyear
更多相关阅读请进入《Delphi》频道 >>