Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX - Outline Control (MSOUTL32)
Message
De
07/08/1998 14:07:37
Mike Welborn
Link Staffing Services
Houston, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
ActiveX - Outline Control (MSOUTL32)
Divers
Thread ID:
00124871
Message ID:
00124871
Vues:
58
I have placed this control on a form.

When I press the right mouse button I bring up a shortcut(popup) menu with several options. Namely, Expand, Collpase, Add, Edit Delete.

I am having difficulty in trying to programatically Expand or Collapse a branch.

Has anyone done this?

I pass the object reference of the Outline control to my shortcut menu as oRef. In the procedure for the Expand menu item, I have oRef.Expand(). This did not work.

I tried giving it the ListIndex as a parameter - oRef.Expand(oRef.ListIndex). Again, it did not work.

I had similar results with oRef.Collapse()

It is a safe guess that it can be done, I just don't know how. Any clues?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform