Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Outline Control
Message
De
13/05/1998 09:47:26
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00098707
Message ID:
00099014
Vues:
27
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform