Information générale
Titre:
ActiveX - Outline Control (MSOUTL32)
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement