Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array
Message
 
À
26/03/2001 14:12:36
Ben Dekker
Dekker Soft & Hardware
Axel, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Array
Divers
Thread ID:
00488635
Message ID:
00488923
Vues:
9
>Ok I use no intera..event.
>
>But I still can't get a value from my array
>and when I click in the combo I lose all my value's
>(lose the array)
>
Ben,

Make the array a property of the combo and initialize it in the Init event:
WITH This
  DIMENSION .myarray[5]
  .myarray[1] = "Item 1"
  .myarray[2] = "Item 2"
  .myarray[3] = "Item 3"
  .myarray[4] = "Item 4"
  .myarray[5] = "Item 5"
ENDWITH
rather than a public variable. The above assumes that your combo is sub-classed.

It sounds like, the InteractiveChange event rather than the Click is what you should be looking at.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform