Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview in html page
Message
From
08/11/2004 07:29:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/11/2004 05:31:42
General information
Forum:
Visual FoxPro
Category:
ActiveVFP
Miscellaneous
Thread ID:
00957984
Message ID:
00959104
Views:
30
>It's ok.
>Thanks anyway.
>Sergiu

BTW if you're not completely against script:
#Define tvwFirst	0
#Define tvwLast	1
#Define tvwNext	2
#Define tvwPrevious	3
#Define tvwChild	4

Text to lcHTML textmerge noshow
<html>
<head>
<title>Treeview in HTM</title>
<script language="JScript">
function LoadTreeView()
{
    var oNode = TreeView1.Nodes.Add(null,<<tvwFirst>>,"top","My Tree");
    TreeView1.Nodes.Add("top",<<tvwChild>>,"root0","Main node 0");
    TreeView1.Nodes.Add("top",<<tvwChild>>,"root1","Main node 1");
    TreeView1.Nodes.Add("top",<<tvwChild>>,"root2","Main node 2");
    TreeView1.Nodes.Add("root1",<<tvwChild>>,"child11","Child11");
    TreeView1.Nodes.Add("root1",<<tvwChild>>,"child12","Child12");
    TreeView1.Nodes.Add("root2",<<tvwChild>>,"child21","Child21");
    TreeView1.Nodes.Add("child11",<<tvwChild>>,"child111","child111");
    TreeView1.Nodes.Add("child11",<<tvwChild>>,"child113","child113");
    TreeView1.Nodes.Add("child113",<<tvwPrevious>>,"child112","child112");
    oNode.Expanded = true;
}
</script>
</head>
<BODY onload="LoadTreeView();">
<p>
<object classid="clsid:C74190B6-8589-11D1-B16A-00C0F0283628" id="TreeView1" width="242" height="159">
  <param name="_ExtentX" value="6403">
  <param name="_ExtentY" value="4207">
  <param name="_Version" value="393217">
  <param name="HideSelection" value="1">
  <param name="Indentation" value="1000">
  <param name="LabelEdit" value="0">
  <param name="LineStyle" value="0">
  <param name="PathSeparator" value>
  <param name="Sorted" value="0">
  <param name="Style" value="7">
  <param name="Checkboxes" value="0">
  <param name="FullRowSelect" value="0">
  <param name="HotTracking" value="0">
  <param name="Scroll" value="1">
  <param name="SingleSel" value="0">
  <param name="ImageList" value>
  <param name="BorderStyle" value="0">
  <param name="Appearance" value="1">
  <param name="MousePointer" value="0">
  <param name="Enabled" value="1">
  <param name="OLEDragMode" value="0">
  <param name="OLEDropMode" value="0">
</object>
</p>
</body>
</html>
EndText
StrToFile(m.lcHTML,"c:\temp\myTree.htm") && Response.Write(m.lcHTML)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform