General information
Category:
Forms & Form designer
>You put your finger on it, actually. The objects collection is a collection and not really an array. The info in the debugger is erroneous.
And the helpfile calls it an array too, talk about misleading, there's just one mistery left then, why isn't the DE in the Objects a..oops, collection?.
>Instead of using ALEN, you would check the .ControlCount property which will tell you how many controls are in the collection. (As Erik pointed out, it doesn't tell you about the controls with containers, though.)
I guess while looping through the objects I'd have to check for a ControlCount larger than 0, and have the function call itself, right?, I've never tried recursion in VFP, I'll have to check that message Erik mentioned, if I can get to it that is :).
Previous
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