Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Index in a List Box
Message
De
03/10/2004 07:52:59
 
 
À
02/10/2004 18:35:46
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00948036
Message ID:
00948307
Vues:
30
Hi Mike:

But my beef is that we should be able to use locate for recno() = m.r1 like we would with a Grid and get the cursor on the required record. It would seem infinitely easier to operate a list box if we had this feature.

I am not quite sure what you are trying to do here. You say that the data used to populate your combo's List is filtered. How is it filtered? What does the filter depend on? You might want to consider using a parameterized view as the RowSource or a RowSourceType of 3-SQL statement so that you can Requery the combo appropriately when the filter condition changes.

Now, it also sounds like you are trying to set a default value for the combo box when conditions change. If this is so, there are plenty of ways that you can do this. Setting the value of the combo to some known value in its internal list, for example. Or setting the combo's ListIndex to 1.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform