回复 6楼 吹水佬
我的老天,您是怎么学的,这也太厉害了,不是恭维,真的是佩服。我只会在窗口中添加一个web的控件,然后打开某一个网页......还是研究了好久才成功的......
of = CREATEOBJECT("form1") of.show(1) RETURN DEFINE CLASS form1 as form width = 1024 height = 500 ADD OBJECT WB as Olecontrol WITH left=0,top=0,width=1024,height=500,oleclass="Shell.Explorer.2",visible=.T. PROCEDURE Init this.WB.Silent = .T. this.WB.Navigate("http://score./1x2/2020255.htm") ENDPROC PROCEDURE WB.documentComplete(pdisp, url) IF (SYS(3095,pdisp) == SYS(3095,this)) this.document.getElementById("sel_showType").value = 1 this.document.parentWindow.execScript("changeShowType(1);", "JavaScript") ENDIF ENDPROC ENDDEFINE