Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Box Additem with double slash
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00833494
Message ID:
00833501
Vues:
22
Thanks Sergey

Sorry about the double sending but was attempting to also sent the slash followed by the less than key and it presents the same as in a menu



>I did explain already in response to your other post.
>
>>(had all kinds of problems sending before)
>>
>>In adding all available printers to a listbox with the ADDITEM or ADDLISTITEM method, network printers have an identification of "\\...printer"
>>
>>I found it very interesting on how the listbox removes the first '\' when more than one is present.
>>
>>For example use the following
>>
>>
>>this.lst1.additem("\abc")
>>this.lst1.additem("abc\abc")
>>this.lst1.additem("\\abc")
>>this.lst1.additem("abc\\abc")
>>this.lst1.additem("\> abc")
>>
>>Can anyone explain why this is happening??
>>Is there a simple solution other than coding to determine replace '\\' with '\\\' before adding?
>>
>>Thanks in advance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform