Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling items in list box
Message
De
19/11/1998 15:05:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00159415
Message ID:
00159481
Vues:
21
cString=CHRTRAN(cString,"\","")

>I don't want to make a whole thread for this, so I'll just ask you two quick...
>
>Is there a function to remove a character or string of characters from another string? Like to take the "\" out of my array items. I know I can do it by getting the RIGHT(ALEN-1), but it would be nice to do ZAP('\',opname).
>
>Thanks,
>
>-Michelle
>
>
>>Michelle,
>>
>>Just simply use lst.ListIndex as the row index into the array.
>>
>>>Ok, now I have a similar question. I made an array of opname and opkey and made that the rowsource. Opname is what is displayed. When a user clicks on one, how do I know what the opkey is? With a cursor, it would just be ops.opkey. But with an array, I don't know which element is being clicked on.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform