Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX - Outline Control (MSOUTL32)
Message
From
07/08/1998 14:07:37
Mike Welborn
Link Staffing Services
Houston, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
ActiveX - Outline Control (MSOUTL32)
Miscellaneous
Thread ID:
00124871
Message ID:
00124871
Views:
57
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
Map
View

Click here to load this message in the networking platform