Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling Outline control with dir. structure
Message
From
11/04/1998 05:11:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00087549
Message ID:
00091270
Views:
24
>>>Hi all,
>>> does anybody have on-hand solution for this. I spent whole night trying to malke this, but can't seem to find the right way... Any hints, suggestions greatly appreciated.
>>>tia
>>> Dezider
>>
>>One alternative that is available to you know is to create an ActiveX Control in VB - which has native controls to do this sort of thing. Once the control has been created - you can use it in VFP. Alternatively, you can use ADIR() to do this - but that is a very, very slow process.
>
>Hi guys,
> well I finally got in ( had problems with my ISP - when you need it most ) and would like to thank everybody who contributed. I found that example on installation CD of VFP 5.0 ( it's not on 3.0 ) and got it to work.
>So to go on. ( It's not finished!!! ) As a remark to the speed results - my users don't have 200 MHz P's, only 90-133, so it's a "little" slower. Then imagine, 150 users on the Novell server and the results are much worse. So here comes my next problem. Is it possible to do something like expand "on demand" - I mean read dir structure only one or dirs deeper, not everything at once?
>Ass for VB ocx - I don't have VB, so I can't do this. And I'm also not so good to even start to write ocx's... :-(
>
>thanx again, to all
> Dezider
Hi Dezider,
You have already answered yourself I think. Then do something like this :
- Just create first level + one dummy node for nodes deeper than one
- Treeview has Expand, Collapse, Nodeclick etc events. You would need the "expand" event.
- When expanded, lockscreen, fill that level + one dummy node if deeper.
- Once needed nodes are filled this way there is nothing to cut speed anymore.
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