Combobox - Incremental Search and Anywhere Search
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5476
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Combobox - Incremental Search and Anywhere Search
It is my long time wish to accommodate incremental and anywhere search in combobox itself. Esgici had seeded Combo Search Box in HFCL which has its branches like AutoComplete, HMG_aChoice, ComboSearchGrid etc.
I had tried to implement the GridIncrementalSearch sample to the ComboBox, so that anywhere search is implemented. I am sure we can improve a lot. Give me your suggestions and help in this regard. So, you can type 'america' to select United States of America.
I had tried to implement the GridIncrementalSearch sample to the ComboBox, so that anywhere search is implemented. I am sure we can improve a lot. Give me your suggestions and help in this regard. So, you can type 'america' to select United States of America.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: Combobox - Incremental Search and Anywhere Search
Hola Rthinagiri,
Me da el siguiente error al compilar en h.m.g.3.2, debe de ser con la ultima versión exclusivamente?
Saludos y gracias por el interés en trabajo hecho.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hello Rthinagiri,
I get the following error when compiling in hmg3.2, should be with the latest version only?
Greetings and thanks for the interest in work done.
Me da el siguiente error al compilar en h.m.g.3.2, debe de ser con la ultima versión exclusivamente?
Saludos y gracias por el interés en trabajo hecho.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hello Rthinagiri,
I get the following error when compiling in hmg3.2, should be with the latest version only?
Greetings and thanks for the interest in work done.
Code: Select all
Harbour 3.2.0dev (r1312060701)
Copyright (c) 1999-2013, http://harbour-project.org/
C:/Users/Maquina6/AppData/Local/Temp/hbmk_oob3q7.dir/main.o:main.c:(.data+0x238): undefined reference to `HB_FUN_EVENTISMOUSEMESSAGE'
collect2: ld returned 1 exit status
hbmk2: Error: Ejecutando enlazador. 1
gcc.exe C:/Users/Maquina6/AppData/Local/Temp/hbmk_oob3q7.dir/main.o C:/Users/Maquina6/AppData/Local/Temp/hbmk_oob3q7.dir/hbmk_28bm30.o F:/hmg.3.2/Mios/ComboAnywhereSearch/_temp.o -Wl,--nxcompat -Wl,--dynamicbase -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lhfcl -lini -lreport -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -omain.exe -LF:/hmg.3.2/harbour/lib/win/mingw -LF:/hmg.3.2/lib
hbmk2: Error: Funci¢n(es) referenciada, no encontrada, pero desconocida:
EVENTISMOUSEMESSAGE()
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Combobox - Incremental Search and Anywhere Search
Thanks Mr. Rathinagiri,
we have many chose to learn, especially new feature in HMG: events
In HMG 3.3.1 worked with no problem
By the way, does "anywhere" includes "Name" and "Text" text-box ?
Regards
Correction added :
we have many chose to learn => we have many thing to learn
( sorry; chose is thing in French )
we have many chose to learn, especially new feature in HMG: events
In HMG 3.3.1 worked with no problem
By the way, does "anywhere" includes "Name" and "Text" text-box ?
Regards
Correction added :
we have many chose to learn => we have many thing to learn
( sorry; chose is thing in French )
Last edited by esgici on Thu Jul 31, 2014 12:55 pm, edited 1 time in total.
Viva INTERNATIONAL HMG
- Rathinagiri
- Posts: 5476
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Combobox - Incremental Search and Anywhere Search
Javier Tovar, yes, you have to install the latest version to run this sample.
Esgici, it doesn't include textboxes.
'Anywhere' here means anywhere inside the item text. For example, to search for 'South Africa', you need not type 'South'. You can start typing for 'Africa'.
Esgici, it doesn't include textboxes.
'Anywhere' here means anywhere inside the item text. For example, to search for 'South Africa', you need not type 'South'. You can start typing for 'Africa'.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Clip2Mania
- Posts: 99
- Joined: Fri Jun 13, 2014 7:16 am
- Location: Belgium
Re: Combobox - Incremental Search and Anywhere Search
Rathinagiri,
exactly what I was looking for! Have not tried it to the full extent, but it looks great already. Such an improvement compared to the previous Combosearchbox!
For textboxes, I use 'Autofill'
Thx,
Erik
exactly what I was looking for! Have not tried it to the full extent, but it looks great already. Such an improvement compared to the previous Combosearchbox!
For textboxes, I use 'Autofill'
Thx,
Erik
- dragancesu
- Posts: 929
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: Combobox - Incremental Search and Anywhere Search
I tried it, works perfectly
But what happens when there are several "hits" an example for the city, "city", will show the first and the following will not find
Mexico City
Kansas City
Salt Lake City
Oklahoma City
Ho Chi Minh City
City names are sorted and will show the "Ho Chi Minh City", how to easily find the "Mexico City"?
But what happens when there are several "hits" an example for the city, "city", will show the first and the following will not find
Mexico City
Kansas City
Salt Lake City
Oklahoma City
Ho Chi Minh City
City names are sorted and will show the "Ho Chi Minh City", how to easily find the "Mexico City"?
- Clip2Mania
- Posts: 99
- Joined: Fri Jun 13, 2014 7:16 am
- Location: Belgium
Re: Combobox - Incremental Search and Anywhere Search
I think that most users will know what city they are looking for.But what happens when there are several "hits" an example for the city, "city", will show the first and the following will not find
The 'America' and 'United States of America' was a good example, so is for example 'Congo' and 'République du Congo', but the main word you are looking for is not "République" (there are many), but 'Congo'. Same for 'Island', most of the time you know which one...
There might indeed be anomalies, but you still have the 'classic' way by clicking on the drop-down & selecting the 'old-fashioned' way.
- dragancesu
- Posts: 929
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: Combobox - Incremental Search and Anywhere Search
I did not mean to write this as a criticism but as a suggestion
It is very interesting to search for any word, that's great, but then there are some specific problems
Yes, I can look and classic, but then stops searching for any word
It is very interesting to search for any word, that's great, but then there are some specific problems
Yes, I can look and classic, but then stops searching for any word
Re: Combobox - Incremental Search and Anywhere Search
Tested working nice
Thank you Rathi for sharing nice implementation
Thank you Rathi for sharing nice implementation
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- Rathinagiri
- Posts: 5476
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Combobox - Incremental Search and Anywhere Search
Hi dragancesu,dragancesu wrote:I tried it, works perfectly
But what happens when there are several "hits" an example for the city, "city", will show the first and the following will not find
Mexico City
Kansas City
Salt Lake City
Oklahoma City
Ho Chi Minh City
City names are sorted and will show the "Ho Chi Minh City", how to easily find the "Mexico City"?
Are you a mind reader?! You are just reflecting my thoughts man!
Now, press up/down key to move around 'City'
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.