Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays and Combo Boxes
Message
De
09/03/1998 09:11:47
 
 
À
09/03/1998 08:24:18
Jolene Dicks
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00083330
Message ID:
00083351
Vues:
26
>I am trying to default a combo box value to be a certain value upon a certain condition. The combo box is filled with an array that contains the names and associated user id numbers. When a user logs into the system, their user id number is put to a public user variable and I want to match that user ID with the user number in the array that fills the combo box. I still want the combo box to contain all the other users in the array but just default it to the user that logged in. Is there a particular function in Foxpro that will allow me to do this? Or is there another way to do this search? Any information would be greatly appreciated. Thanks.
>
>Jolene Dicks
>Human Resources Development Canada

If you mean that combo should show particular value in text portion when you start a form, then issue This.Combo1.Value="whatever" in Form.Init event (surely, "whatever" should be part of Combo.Rowsource).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform