Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling items in list box
Message
From
19/11/1998 15:05:13
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159415
Message ID:
00159481
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform