Recent

Author Topic: ComboBox into KDBGrid  (Read 6131 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
ComboBox into KDBGrid
« on: October 11, 2011, 04:22:45 pm »
Hello, I would understand how I can see a combobox field in a KDBGrid. Someone can help me? thanks
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
Re: ComboBox into KDBGrid
« Reply #1 on: October 12, 2011, 04:43:06 pm »
Help me please
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

JD

  • Hero Member
  • *****
  • Posts: 1910
Re: ComboBox into KDBGrid
« Reply #2 on: October 13, 2011, 12:00:49 pm »
Hi there,

Take a look at the kgriddemolaz example in the \demos directory. It is an example that shows how controls (including a combo box) can be embedded in a KGrid. I guess it should not be too difficult to adapt it to work in a KDBGrid.

A screenshot of the combo box in the KGrid is attached.

Cheers,

JD
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

 

TinyPortal © 2005-2018