Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox woes
Message
 
 
À
28/12/2000 10:51:05
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00457316
Message ID:
00457416
Vues:
34
>>>I have a multi-selectable listbox on my form that I want to pre-fill when the form is loaded. I do this in the Init of the form, but by the time the form is activated the listbox has lost its values. Is there a better way of doing this? I don't know why it's losing its values.

>>Are you using an array as your source? If so, it will lose scope when you leave the init of the form. Make the control source for the box an array that is a property of the form or a cursor.

>Actually, the source is 6-Fields. It's coming straight from a table.

Hello, Elyse.

When you said that you pre-filled the listbox, we supossed that you were populating it item by item somehow.

This have to work. Can you copy the init code? The only properties you have to set are: RowSource, RowSourceType, and Multiselect.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform