Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create read-only Drop-down list combo box
Message
De
02/04/2003 15:40:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to create read-only Drop-down list combo box
Divers
Thread ID:
00773225
Message ID:
00773225
Vues:
315
VFP ignores readonly property of combobox control if its style is 2 – Drop-down List.

I tried to fix this by adding a property readonlyemu and using the following code in the combobox interactivechange event:

IF this.readonlyemu
nodefault
return
endif

However, this allows user to change value from keyboard or
select other value from list. New value appears in the combobox.

How to prevent entering new values ?
Which is the best way to mark list box read only from VFP code ?
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform