import string.gbk //中文增强函数库
addWebPage = function ( url ) {
//创建web窗体
var form = winform.tab.add( text = "Loading...";scroll=true );
var wb = web.form( form , , 0x40000000/*_DLCTL_SILENT*/ | 0x10/*_DLCTL_DLIMAGES*/| 0x20/*_DLCTL_VIDEOS*/ );
//获得索引位置
var sel = #winform.tab.items ;
winform.tab.selIndex = sel;