Darrell, I believe this is what you want:

http://www.vbcity.com/forums/topic.asp?tid=20301


On Tue, 29 Mar 2005 20:39:21 -0000, Darrell Adams <[EMAIL PROTECTED]> wrote:
> 
> 
> Using VB6.0
> 
> I have a combobox, style set to 2-Dropdownlist which makes it read only.
> 
> The Combobox hold districts 0101, 0102 etc, 0201, 0202, etc. 0301, 0302
> etc. down to 1212
> 
> What I want the user to be able to do is start typing 0, 2, 0, 3 and
> the combobox drops down the list to the district(s) as they are typed,
> (In this case it would drop to 0203) and give me the corisponding
> listindex as if you selected it with the mouse.
> (The listindex is set to the ID field for the corisponding district.)
> 
> If I set the style to 0-drop down combo box the listindex is left to -1
> and you can type something other then what is in the list.
> 
> When the combobox style is 2-Dropdownlist, it only cycles to the first
> district.
> 
> Does anyone have a work around that would do what I'm trying to do?
> 
> '// =======================================================
>     Rules : http://ReliableAnswers.com/List/Rules.asp
>     Home  : http://groups.yahoo.com/group/vbHelp/
>     =======================================================
>     Post  : [email protected]
>     Join  : [EMAIL PROTECTED]
>     Leave : [EMAIL PROTECTED]
> '// =======================================================
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 


-- 
Don Roberts - [EMAIL PROTECTED]
http://www.drscripting.com
http://www.freakingidiot.com



'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to