Dear all,
I am looking for the best way to get the tEdit(Btn) search like tSearchCombo does?
So when you type it already is showing the first match it found.
I need a little push in the right direction or a sample. I tried already with OnChar, OnKeyUp,OnChange events, but they were not working properly due to :nPos not working or me not getting the right value of :nPos.
Many thanks in advantage...
Maarten Roos
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
tEditBtn like tSearchComboBox
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
tEditBtn like tSearchComboBox
Maarten,
> I am looking for the best way to get the tEdit(Btn) search
> like tSearchCombo does?
why not use a TSearchCombo then?
> So when you type it already is showing the first match it
> found.
>
> I need a little push in the right direction or a sample. I
> tried already with OnChar, OnKeyUp,OnChange events, but they
> were not working properly due to :nPos not working or me not
> getting the right value of :nPos.
Well, the full source code of TSearchCombobox is in
xailersamplescontrols. You may study it. However, you could put here
a sample of what you are doing in order to help you better.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> I am looking for the best way to get the tEdit(Btn) search
> like tSearchCombo does?
why not use a TSearchCombo then?
> So when you type it already is showing the first match it
> found.
>
> I need a little push in the right direction or a sample. I
> tried already with OnChar, OnKeyUp,OnChange events, but they
> were not working properly due to :nPos not working or me not
> getting the right value of :nPos.
Well, the full source code of TSearchCombobox is in
xailersamplescontrols. You may study it. However, you could put here
a sample of what you are doing in order to help you better.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
tEditBtn like tSearchComboBox
Maarten,
I wrote this code many time ago and it may need some fixes to work with
latest Xailer releases.
Saludos,
José Lalín
--
I wrote this code many time ago and it may need some fixes to work with
latest Xailer releases.
Saludos,
José Lalín
--