Link to home
Start Free TrialLog in
Avatar of Alex
AlexFlag for Greece

asked on

Dbgrid with dblookupcombobox...

I have the tms DBAdvGrid and i present some data from a table of my database.I want to know if there is a way to embed a dblookupcombobox into the first field.

for example this is some fileds to the DBAdvGrid1
Name | Age | Area |
ddfd   | 22  . |lolfd...|
..........|.........|........|

here in the Name field i want when the user click on this field to apear a dblookupcombobox with some data that i will fill in the dblookupcombobox.
Avatar of dinilud
dinilud
Flag of India image

use after scroll event


procedure TForm1.Table1AfterScroll(DataSet: TDataSet);
begin
  DBLookupComboBox1.KeyValue:=Table1.FieldValues['KeyField'];
end;
Avatar of Alex

ASKER

Hi dinilub,

No this is not what i want, i'll try to be more clear.

I just want to "insert" the dblookupcombobox into the field of the dbgrid like to be one thing the field and the combobox and when i click on the field to open the dropdownlist of the combobox.

I can do this with a simple way on the design to put on the field the combobox but even this is not that i want.I want to see if i have the abillity to embed in the tms dbgrid some external components like dblookupcombobox or anything else.

Thanks in advance.
Still i don' t get you full.

i think VolDBGrid is a smaple for you.
Avatar of Alex

ASKER

VolDBGrid  is one more third party dbgrid component?
sorry
Avatar of Alex

ASKER

???
ok. you want to use DBAdvGrid?
Avatar of Alex

ASKER

yes i want to use dbadvgrid of tms software...
i don,t have dbadvgrid component.
But basically  these properties are with coloum property.

i volgadbgrid there is picklist and pick value list
Ok Now i have the trial version
ASKER CERTIFIED SOLUTION
Avatar of dinilud
dinilud
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alex

ASKER

witch tms version did you download?
Avatar of Alex

ASKER

thank you dinilud ;)