📄 13803.html
字号:
<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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -