Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Outline Control
Message
From
13/05/1998 09:47:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00098707
Message ID:
00099014
Views:
26
>I am using the MS Outline ActiveX control that comes with VFP5. What I want to do is have either just the first item expanded when it comes up or all of them expanded.
>
>The users get annoyed having to click to expand the items every single time.
>
>Is there any way that I can do this? The expand method doesn't seem to do anything nor does trying to stuff the keyboard.


I've not played with Outline ever since I tried TreeView, but they shouldn't be that different. The trick is that Expand event doesn't fire expanding; it's just called when this happens. To actuallly expand/collapse a node, you do ...node.expanded=.t. (or .f.). This holds for TreeView, and I seem to remember it was the same with Outline.

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