Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's wrong with this code. I get an error.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
What's wrong with this code. I get an error.
Divers
Thread ID:
00350228
Message ID:
00350228
Vues:
50
DO CASE
CASE m.stype = 1
FOR i = 1 TO THISFORM.lstSlist4.ListCount
IF LEFT(THISFORM.lstSlist4.List(i),LEN(ALLTRIM(m.stext))) ;
!= alltrim(m.stext)
THISFORM.lstSlist4.RemoveItem (THISFORM.lstSlist4.ListIndex)
ENDIF
ENDFOR

I have this code in a command button that does a partial search on a drop-down list in my combobox. If the partial search text does not match the item in the combobox list, I want to Remove the item from the combobox. But I get an error on the THISFORM.lstSlist4.RemoveItem command line. Am I even close? I have never done this before. I think I am close. Help please. And thank you.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform