Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box Requirement
Message
From
24/07/2001 16:25:57
 
 
To
24/07/2001 16:16:10
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00534638
Message ID:
00534642
Views:
13
Mark-

>I have the comboboxes set as dropdown lists so the only values that can be typed in have to be in the list, but that is not good enough. Is there any way to prevent keyboard input into a combobox? I think I could possibly simulate the desired behavior by activating a listbox or some type of popup menu, but have never done anything like that before.
>
>Any suggestions????

Since a drop down list won't let them type in values not in the list, I gather you mean that the combo is finding matches for what is typed. There are two things you can do. Automatically drop down the list when it gets focus, and two, turn incremental search off.

One of my combo base classes looks like this:
THIS.ORIGINAL_VALUE = THIS.VALUE
_DBLCLICK = this.DoubleClick
IF this.AutoDropDown
	KEYBOARD '{F4}'
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform