Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox invert problem
Message
De
10/01/2005 17:03:20
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
 
 
À
10/01/2005 16:28:18
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 XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00975756
Message ID:
00975856
Vues:
13
Something new.

I was using RowSourceType = 2. I decided to change this to RowSourceType = 0 and manually loading the listbox through AddListItem(). Now it works. I decided to try other possible RowSourceTypes. Here are the results:

RowSourceType = 0 (None): Works.
RowSourceType = 1 (Value): Works.
RowSourceType = 2 (Alias): Does not work.
RowSourceType = 3 (SQL): Does not work.
RowSourceType = 4 (Query): Does not work.
RowSourceType = 5 (Array): Works.

RowSourceType 6 - 9 do not apply to this situation.

Bottom line is that the Selected() method in a Listbox does not function properly when using a table/cursor/query. The other three RowSourceTypes (None, Value, Array) do work.

Thanks again for your help.

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

Click here to load this message in the networking platform