Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building Treeview Heirarchy
Message
From
05/01/2005 15:14:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00974406
Message ID:
00974504
Views:
36
>>>I'm working on a form consisting of a treeview and combobox. I want the user to be able to re-sort the treeview, based on the selected combobox option. For instance, if my table consists of date, module, severity, status and description, I may want the user to be able to sort on any, or any combination, of selected fields
>>>
>>>The table I am extracting information from is not in heirarchical format, but does have a unique record ID field (numeric). I want to create a heirarchical table based on the user selection.
>>>
>>>I have been working on this and have figured out a fairly elaborate way to create the parent nodes and associate the detail data to the parent node. While my method works, it is limited to the number of levels that I am allowing programtically. While this will work for me, I can't help but feel that there must be a better way (such as a Select command), or an existing utility, which handles this.
>>>
>>>Any ideas?
>>>
>>>Thanks much.
>>>
>>>David
>>
>>David,
>>You might want to check UT magazine June 2001 issue (first one).
>>But IMHO it'd be easier and cleaner if you simply show the data in a HierarchicalFlexgrid control.
>>Cetin
>
>Hi Cetin - thanks for the suggestion. I have never worked with that control, but will surely take a look at it. Do you know where can i find the Heirarchical Flexgrid control?
>
>David

It's installed with VS and I think VFP only installation installs it too.

in code:

Add OBJECT hflex AS olecontrol WITH ;
OleClass = 'MSHierarchicalFlexGridLib.MSHFlexGrid'

I tried to locate one of the codes I posted before but UT search lies-none found:)
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
Next
Reply
Map
View

Click here to load this message in the networking platform