Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know a ListItem in ComboBox is disabled?
Message
De
22/08/2019 15:40:54
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
22/08/2019 12:51:01
Joe Kaufman
Bell Laboratories Inc.
Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01670243
Message ID:
01670263
Vues:
64
>>At that point the "\" or "\]" is no longer at the front of the value -- FoxPro apparently says, "OK, I'll disable this, but you'll never be able to tell it got disabled from now on..."

Thanks for that gem re the removed \ : something to remember!

2 suggestions:

1) Recently I saw somebody's post with a combo based on a POPUP. This allowed different fonts etc for each row, but also the SET SKIP to disable rows, will not alter source values.

2) A (Disabled) or (Closed) appended to the display text which emphasizes why they can't pick it, and is easily identified in code.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform