General information
Title:
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only