13402.html

来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 26 行

HTML
26
字号
<html>
  <head>
    <title>如何在run-time 时 改变datagrid 的栏宽</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>如何在run-time 时 改变datagrid 的栏宽</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by Apple on May 26, 1999 at 10:25:32:<p>
我试过在程式执行加入<br> DataGrid1.Columns.Item("a").Visible= true<br> DataGrid1.Columns.Item("a").width = 1500<br>但执行到第二行会出现找不到"a" 这个栏位但资料确实有这个栏位呀... <br>因为第一行可以过第二行就不行了耶<br>请问有人碰到过吗?
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 13402-->
<!--top: 13403--><li><a href="13403.html">Re: 如何在run-time 时 改变datagrid 的栏宽</a> <b>JOB</b> <i>10:41:18 5/26/99</i>
(<!--responses: 13403-->0)
<ul><!--insert: 13403-->
</ul><!--end: 13403-->
</ul><!--end: 13402-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?