VBscript and Treeview 
Author Message
 VBscript and Treeview

Hi,

Does anybody know how to make the{*filter*}node in a treeview activeX look the same as in ms exporer???
This is the code I'm using. the first node has treelines on the leftthat I want to get rid of

<OBJECT ID="TreeView1" WIDTH=164 HEIGHT=420 VIEWASTEXT
 CLASSID="CLSID:0713E8A2-850A-101B-AFC0-4210102A8DA7">
    <PARAM NAME="_ExtentX" VALUE="4339">
    <PARAM NAME="_ExtentY" VALUE="11113">
    <PARAM NAME="_Version" VALUE="327682">
    <PARAM NAME="HideSelection" VALUE="0">
    <PARAM NAME="Indentation" VALUE="1">
    <PARAM NAME="LabelEdit" VALUE="1">
    <PARAM NAME="LineStyle" VALUE="1">
    <PARAM NAME="PathSeparator" VALUE=".">
    <PARAM NAME="Sorted" VALUE="1">
    <PARAM NAME="Style" VALUE="7">
    <PARAM NAME="Appearance" VALUE="0">
</OBJECT>
</SCRIPT>
<script LANGUAGE="VBScript">
 TreeView1.OLEDragMode = 1
 TreeView1.OLEDropMode = 1
 'Set TreeView1.ImageList = Imagelist1
 TreeView1.name = "TreeView1"

 Set nodx = TreeView1.Nodes.Add(,,"Tree","Tree")

<%
 On Error Resume Next
 rsclient.MoveFirst
 do while Not rsclient.eof
 Node = rsclient.Fields("Name").Value
 Id = rsclient.Fields("id").Value
%>
  nodx = TreeView1.Nodes.Add("Tree",4,"Client<%=Id%>","<%=Node%>")
<%
 rsclient.MoveNext
 loop
 Rsclient.close
%>



Tue, 31 Jul 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VBScript XMLDom Treeview Problem

2. TreeView (vbscript/asp)

3. treeview control and vbscript

4. (VBScript) How to change the Font of simple node in TreeView

5. How can I link ActiveX control(TreeView) and DataBase Using VBScript

6. TreeView (vbscript/ASP)

7. Drag Drop into TreeView Using Client Side Code(VBScript)

8. Make treeview act like treeview in Outlook

9. Like Treeview AND NOT Like Treeview

10. Copying TreeView nodes to another TreeView

11. Drag/drop from Explorer TreeView to my VB TreeView

12. Drag from Treeview to Treeview

 

 
Powered by phpBB® Forum Software