Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlight Listbox row - is it possible?
Message
De
06/12/2004 11:12:26
 
 
À
06/12/2004 09:06:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00967126
Message ID:
00967219
Vues:
8
Hello Cetin

>When rowsource is sonething that's based on a cursor (alias,fields,query,sql) then you've >a listindex=recno("underlyingsource") relationship.

>Added a new record or requeried and set pointer in source to desired record:

>thisform.myList.ListIndex = recno("underlyingsource")

If you add a new record or delete one, are you saying that you should re-sync the listindex or, does the listbox do this automatically?

Also, the cursor in question is a table buffered remote view so, the recno() of newly added records start at -1. Might this be what is causing the problem?

Please let me know if you can :)

Regards

Angie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform