Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox undesirable behaviour
Message
De
02/04/1999 09:05:31
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00204598
Message ID:
00204613
Vues:
17
>My problem is regarding the .AddListItem method of the ListBox. In my application I populate the List box with many columns (i.e. 7) of data from a table. In one of the columns I store the table's primary index which is a series of 5 alpha-numeric characters.
>
>For instance the key may look like: "AAE\\".
>
>In the above instance if I retrieve the key ID from the list box it will return me: "AAE\".
>
>It seems to me that the double or multiple back-slash character is being treated like some form of a delimiter. I have tried numerous ways of storing this character string to the list box but with the same result.
>
>Any help in this matter will be greatly appreciated.
>
>
>Peter
>Progressive Business Solutions Inc.

It might be something like C escape char. Instead of directly setting values, select into array and make rowsource = 5. Properties would look like :
Columncount = alen(myArray,2)
NumberOfElements = alen(myArray)
Rowsource = "myarray"
RowsourceType = 5 && Array
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