Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tree View in VFP
Message
From
12/06/2013 05:47:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01576100
Message ID:
01576103
Views:
85
>I have a requirement where I want to be able to indicate where a company sells products into.
>Company can sell into multiple Ciities in Multiple Countries
>Ideallu i'd like a Tree View type structure where
>1. All countris are listed
>2. If you Click on One country, it opens up all main cities, with a Tick Box Beside it
>3. You can 'Tick' the box to say the Compnay sells into this City
>4. Save the 'Cities' that are ticked so next time in, the tree view will show those that are ticked
>
>Is there a standard Tree View in VFP or perhaps some other control that would do this ?

Yes, for some values of "standard". It's the TreeView OCX which comes with pretty much every version of Windows, and it's fairly obsolete. I haven't seen much of a change in it since 1998. It's got some limitations but I'm sure you'll find plenty of examples.

I'd rather use FalseTree which someone posted here once, but I can't find it downloads, so I'm attaching it here. It should have fewer issues and be easier to control. Too bad I can't use it, because the code where I'd like to put it already has too many lines tied to the oddities of the OCX, so it would take more time than it's worth.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform