Board index » delphi » ComboBox with incremental search ?
|
Lina Scarpellin
Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
|
Lina Scarpellin
Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
ComboBox with incremental search ?Hi ! Any help appreciated ! |
| Ruud Schmeit
Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:ComboBox with incremental search ?QuoteLina Scarpellini wrote: I had the same problem. procedure TForm1.Button1Click(Sender: TObject); When the user enters a new name, it's actually added to the list. There's just one (big !) problem: after ending the application and I'm probably doing something wrong, but I can't find out what it is. kind regards, Ruud Schmeitz |
| je
Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:ComboBox with incremental search ?On Fri, 20 Feb 1998 17:14:06 +0100, Ruud Schmeitz Quote<R.Schme...@MEMIC.UNIMAAS.NL> wrote: it to the list within the combo box? If you mearly wish to add it into the pull-down list on the combo box, you may add the following code: It's Ruud's code that I modified, so it saves the list even when you shut down the computer in your main variable declarations you need to put the code : var filename:string; in your forms on create event you must put the following code: begin ... Quote> procedure TForm1.Button1Click(Sender: TObject); Quote> end; with the object inspector you gotta click on the "..." in the items properity to bring up the string editor... enter the initial list of items, then click on save as and save it as whatever file you put for 'c:\mydirectory\myfile.txt' I hope this helps... oh and thanks for the idea... I was about to -- -Jet |
| Ruud Schmeit
Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:ComboBox with incremental search ?Quotejet wrote: to check first if the new name already exists on the list (to prevent adding duplicate names to the list). Quote> ... And don't forget to use the DBComboBox1 OnExit-event to check if the user has actually added the new name to the list (of course only if that name did not exist on the list before). kind regards, Ruud Schmeitz |
1. Incremental Search in Combobox
2. TQuery record search/find - incremental search
3. ComboBox with incremental seach & completion
4. incremental search component
5. incremental & partial search
6. case unsensitivity & incremental search in Interbase
7. incremental search with dbgrid display
8. Good DBDropDown List with Incremental Search?
