Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox - Nothing Shows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00080357
Message ID:
00081066
Vues:
18
>I have created a form that contains a combobox that will
>be used to select from a list of printers supplied by the
>APRINTERS() function. I have created a property named
>iaPrinters[1,1] on the form and populated the array in the
>LOAD event of the form.
>
>The rowsource of the combobox is ThisForm.iaPrinters
>The rowsourcetype of the combobox is 5 (array)
>
>The array is being correctly populated, but DOES NOT
>APPEAR when the form is invoked. I have tried to set
>the DisplayValue to 1 and the Value to Thisform.iaPrinters[1,1]
>but neither worked.
>
>How can I get the combobox to show the values from the
>array instead of being blank at start up?

Your answer might be as simple as a well-placed requery/refresh, dpending on where the array is populating.

Put a button (just to test) on your form that runs thisform.mycombo.requery, and thisform.mycombo.refresh, and see if you get one then. If so, add it to the objects refresh event (or wherever you keep your big object-refresh stuff).

JR
CLARC Services, Inc.
3500 Tamiami Trail
Port Charlotte, FL 33952
www.clarc.com
(941) 743-0108
(800) 246-5488
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform