Lazarus

Free Pascal => Database => Topic started by: Gebo on October 20, 2020, 03:33:53 am

Title: I need a combobox object
Post by: Gebo on October 20, 2020, 03:33:53 am
I need a combobox that shows a field data in a table but when I choose an assign value ,the cursor position changed to the row of the value.

help me please?
Title: Re: I need a combobox object
Post by: Handoko on October 20, 2020, 05:30:31 am
Have you tried TDBComboBox or TDBLookupComboBox?
https://lazarus-ccr.sourceforge.io/docs/lcl/dbctrls/tdbcombobox.html
https://lazarus-ccr.sourceforge.io/docs/lcl/dbctrls/tdblookupcombobox.html

If you are new in database programming, maybe these video tutorials can be helpful to you:
https://www.youtube.com/watch?v=R5DhivgONnw (https://www.youtube.com/watch?v=R5DhivgONnw)
https://www.youtube.com/watch?v=lUD3z6X1jWU (https://www.youtube.com/watch?v=lUD3z6X1jWU)
Title: Re: I need a combobox object
Post by: Gebo on October 27, 2020, 12:12:33 am
I am not new in database programming but I was doing it in another way and now I want to do it directly.

I can't understand from the videos that you sent.Can you send another video that explain dblookupcombobox?
TinyPortal © 2005-2018