Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox - duplicate values
Message
De
06/03/2008 03:45:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
ListBox - duplicate values
Divers
Thread ID:
01299234
Message ID:
01299234
Vues:
62
Hi all,

I have form with listbox and grid. ListBox has 4 columns and array as rowsource populated
with some SELECT ... .Values in first column may be identical.

In click() there is LOCATE like:

LOCATE for F1 = this.displayvalue .and. F2 = left( this.ListItem(this.ListItemID,4) ,2)

This works and in grid are displayed proper records from child table.

Problem is that after click, listbox allways jumps to the first record when there are 2 or more records with same value in first column and different in fourth.
How to force listbox to stay on selected row ?

Regards, Gojko
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform