Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outline Expand
Message
From
02/06/1997 15:58:03
 
 
To
02/06/1997 13:27:30
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00034518
Message ID:
00034588
Views:
31
>>When you say myoutline.object.expand do you mean myoutline is the outline's name and the word object needs to be added? The way the syntax looks it should be myoutline.expand(myoutline.listindex)=.T. to expand a specific folder. Do I need to add the word object in between myoutline and expand or is object another reference to a specific folder? Thanks again.
>>
>>>>Is there a way to programmatically expand folders in an outline? Help says there is an expand property that is set t/f but I get errors saying it's not an array when trying to access it. I can run the expand event but this does not expand the folder. I'm looking for a routine to fully expand all folders before the outline is show on the screen.
>>>>
>>>>Brad
>>>
>>>If memory serves this is one of those 'bugs' that MS says is 'by design.' If it's by design, why is the help file wrong????
>>>
>>>There is a kb article about this, but I believe you must use the following syntax to call the Expand Method: myoutline.object.expand I had this problem about a year ago and I believe that's how I fixed it.
>>>
>>>HTH
>
>yes. the word object needs to be added. the syntax listed in the help documentation is incorrect. I don't know why this is. I believe there may be a couple other examples of this in vfp as well.


Thanks Matt it worked like a charm when I inserted object. The help information is in Visual Basic format so the problem might be there. Thanks again.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform