13803.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 23 行
HTML
23 行
<html>
<head>
<title>Re: 大约如下, 其它自己Try看看啰</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 大约如下, 其它自己Try看看啰</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:ocean@mdsserv.mds.com.tw">Ocean</a> on June 03, 1999 at 16:01:42:<p>
In Reply to: <a href="13718.html">有没有范例来说明</a> posted by 小曼 on June 02, 1999 at 16:19:28:<p>
: 可以请你用范例来说明<p>: : 妳可以用 .Children, .Parent<br>: : 去判断妳所需的资料<p>Option Explicit<p>Private Sub Form_Load()<p> TreeView1.Nodes.Add , tvwLast, "Test1"<br> TreeView1.Nodes("Test1").Text = "Test1"<br> <br> TreeView1.Nodes.Add "Test1", tvwChild, "C_Test1"<br> TreeView1.Nodes("C_Test1").Text = "C_Test1"<br> <br> TreeView1.Nodes.Add , tvwLast, "Test2"<br> TreeView1.Nodes("Test2").Text = "Test2"<br> <br> TreeView1.Nodes.Add , tvwLast, "Test3"<br> TreeView1.Nodes("Test3").Text = "Test3"<br> <br> TreeView1.Nodes("Test1").Expanded = True<br>End Sub<p>Private Sub TreeView1_NodeClick(ByVal Node As MSComctlLib.Node)<br> If Node.Child Is Nothing Then<br> If Node.Parent Is Nothing Then<br> MsgBox "It's the Root Point"<br> Else<br> MsgBox "It's the Child Point"<br> End If<br> Else<br> If Node.Parent Is Nothing Then<br> MsgBox "It's the Root Point"<br> Else<br> MsgBox "It's the Child and Parent Point"<br> End If<br> End If<br>End Sub<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 13803-->
</ul><!--end: 13803-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?