[ActiveX]Web中使用ListView 完全示例(13) <button onclick="myList.GridLines=true" width=40>显示虚线</button><button onclick="myList.GridLines=false" width=40>去掉虚线</button><br><button onclick="myList.HidecolumnHeaders=false" width=40>显示标题栏</button><button onclick="myList.HidecolumnHeaders=true" width=40>隐藏标题栏</button><br><button onclick="myList.HideSelection=false" width=40>显示选择(焦点失去时)</button><br><button onclick="myList.HideSelection=true" width=40>不显示选择(焦点失去时)</button><br><button onclick="myList.HotTracking=true" width=40>鼠标选择1</button><button onclick="myList.HotTracking=false" width=40>取消鼠标选择1</button><br><button onclick="myList.HoverSelection=true" width=40>鼠标选择2</button><button onclick="myList.HoverSelection=false" width=40>取消鼠标选择2</button><br><button onclick="myList.LabelWrap=true" width=40>省略显示</button><button onclick="myList.LabelWrap=false" width=40>取消省略显示</button><br><button onclick="myList.LabelEdit=0" width=40>可编辑</button><button onclick="myList.LabelEdit=1" width=40>不可编辑</button><br><button onclick="myList.View=1" width=40>显示效果1</button><button onclick="myList.View=2" width=40>显示效果2</button><br><button onclick="myList.View=3" width=40>显示效果3</button><button onclick="myList.View=0" width=40>显示效果4</button><br></td></tr></table></td></tr></table><object id=imageList1 classid="clsid:2C247F23-8591-11D1-B16A-00C0F0283628"></object></body><script language = "javascript">//function chageSize()//{ //myList.width = document.body.clientWidth - 150//myList.height = document.body.clientHeight//alert(document.body.clientWidth - 150)//setTimeout("chageSize()", 10)