Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting first item in combo box based on array
Message
De
16/08/2000 18:39:01
Ronald Suen
Epic Solutions Inc.
Edmonton, Alberta, Canada
 
 
À
16/08/2000 16:50:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00405816
Message ID:
00405870
Vues:
16
Try adding the following after the requery:

.ListIndex = 1

Hope this helps.

>What do I have to add to this code to always have the first array element selected and visible in my combo box?
>
>WITH THISFORM.cboTables
> .ROWSOURCETYPE = 5
> .ROWSOURCE = 'THISFORM.aTables'
> .FIRSTELEMENT = 1
> .REQUERY()
>ENDWITH
Ronald Suen
Epic Information Solutions Inc.
Ph: (780) 488-4418
Fax: (780) 488-0402
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform