Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create read-only Drop-down list combo box
Message
From
02/04/2003 15:40:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to create read-only Drop-down list combo box
Miscellaneous
Thread ID:
00773225
Message ID:
00773225
Views:
314
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
Next
Reply
Map
View

Click here to load this message in the networking platform