Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox invert problem
Message
De
10/01/2005 17:11:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/01/2005 17:03:20
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
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:
00975866
Vues:
11
>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

Todd,
With alias types (2,3,4) it's known to work only when you're focused in listbox.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform