Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Renoir,
>Probably array you use is not a form property and not declared as public. IOW sounds a scope problem. ie:
>
Cetin (and Pamela and Deamon),
The only way I have gotten this to work is to create the property array in the Init of the listbox instead of the form. It kept giving me an error that the property didn't exist when I would reference it in the listbox Init so I just created it there. Why is this? Does object's Init run before the form's? I even tried creating the property in the form's Load method with the same results. Very confusing... It works the way I've done it now, but I still don't understand it.
Also, how do I declare a form property array public in code? I'm using the following to create and dimension:
ThisForm.AddProperty('SeeAlso(1)','')
Dime ThisForm.SeeAlso(1)
Renoir
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