Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox and Array Property and where to do what
Message
De
16/05/2001 08:32:07
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
16/05/2001 03:38:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00507493
Message ID:
00507750
Vues:
11
>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
Fil
Voir

Click here to load this message in the networking platform