Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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 :).
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement