Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Position
Message
From
28/07/1997 16:03:40
 
 
To
28/07/1997 14:07:58
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00041950
Message ID:
00041992
Views:
35
Hi again Edward,
Yeah, not really fearful, just like to find the most elegant solution if possible. I came up with a function similar to what you suggested. Works fine, looks good. Only possible concern is speed if a lot of containers are involved.

Thanks again,
Bill


>>Hi Edward,
>> I read you and I was afraid of that :-). Was hoping for a "simple" solution.
>>
>>Thanks,
>>Bill
>>
> Don't be afraid and run something like this:
>**** some control event/method
>local cString,nTop
>cString="this.parent"
>nTop=this.top
>do while .t.
> if type(cString)!="O"
> exit
> endif
> nTop=&cString..top+nTop
> cString=cString+".parent"
>enddo
>=messagebox("this is cumulated 'top': "+str(nTop))
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform