Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jun : COMBOBOX FILTER

www.cryer.info
Managed Newsgroup Archive

COMBOBOX FILTER

Subject:COMBOBOX FILTER
Posted by:"michael" (mgoh_..@yahoo.co.uk)
Date:Wed, 28 Jun 2006 09:54:06

Dear All,

Is there anyway to change filter behaviour in combobox ?

i.e.

If we have these items as TStrings
Dr. Keith
Dr. Fred
Mr. Michael
Ms. Kelly

I would like to display in the listbox appeared, only the first 7 matched
with the text I typed in the combobox
It would be much alike with I.E and Opera, when we type 'C', it would only
display all the history begin with C

In addition to that, I would like to do custom filter, for example, when I
type 'K' it would display Dr. Keith and Ms. Kelly,
Title is ignored when First Name begin with letter 'K'

Thank You

Regards
Michael

Replies:

www.cryer.info
Managed Newsgroup Archive