Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Security in combobox items.
Message
De
22/12/2003 18:14:17
 
 
À
22/12/2003 13:28:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00861357
Message ID:
00861449
Vues:
26
>The current (Mere Mortals) security system gives each control a unique ID in a security table, and leaves the control unchanged, sets it read-only or removes it as necessary.
>
>I'd like to replicate this behavior down to individual entries within a combobox. The RowSourceType is 2-Alias, how can I disable or remove the entries without altering the underlying cursor?
>
>Chris.

hello Chris

how about this:
if DisAbleIt = .t.
   MyCombo.listitem(ItemToBeControlled) = "\" + .listitem(ItemToBeControlled2)
else
   MyCombo.listitem(ItemToBeControlled) = StrTran(.listitem(ItemToBeControlled), "\", "")
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform