Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable an item in VFP5 listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Disable an item in VFP5 listbox
Divers
Thread ID:
00246210
Message ID:
00246210
Vues:
38
What is the best way to disable an item from a listbox in VFP5. I have found if you insert "\ " at the beginning of the item contents, it will disable the text. In NT4-SP5, you must include the space after the "\".

Example:

thisform.LIST1.additem("\ "+alltrim(TESTPATH))

This will disable this item as it is inserted, but this seems flakey.

Thanks!
Daryl F
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform