Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox woes
Message
De
12/06/2001 08:02:25
 
 
À
28/12/2000 09:50:03
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:
00518279
Vues:
14
Hi Elyse.

>> 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. <<

One thing that will not initialize the value of a combo or list box is setting the selected property of one of its list items to true in the Init method of a form. The statement:

Thisform.MyList.Selected[1]

in the form's Init method, does not select an item in a combo or list box. This same statement in the form's Activate method will, however, achieve the desired result.

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform