>>Hello, I am trying to develop a combobox from a table(500 records) that is alphanumeric and when the user enters '99', I want the combobox to display the entries beginning with '99' so the user can handily click on desired selection.
>>Does this need a class to be accomplished?
>
>
You might subclass. But combobox.sorted = .t. and Incrementalsearch = .t. does job already IMHO. You might also use quickfill class or for a grid version ingrid.
>Type '99' grasp the mouse and select. It really doesn't sound an accelarator to me. Say I have entries like '99ED78', '99EE80', '99F8GT'... I could reach '99EE80' with typing '99EE'. It would be much faster than typing+mouse. It would make difference when there are few records with a common long starting substring. Check quickfill and ingrid first (files\classes section). Even only increasing _dblclicktime on gotfocus and setting back to default in lostfocus (sorted +incsearch .t.) might be solution in your case.
>Cetin
I guess what I need is a quicken style combobox like Barbara pointed out. When a user starts typing in text, I want the combobox to open up as if you clicked on it, displaying the closest match to what was typed in.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."