Recent

Author Topic: TDblookupcombobox  (Read 462 times)

Petrus Vorster

  • Jr. Member
  • **
  • Posts: 62
TDblookupcombobox
« on: August 08, 2024, 10:56:51 am »
Hi All
First, thank you for all the help.

I finally got the TDBlookupcombobox sorted out. Loads and works well.
The only thing I dont see is an Index to automatically display the first entry like a normal tcombobox.

The listindex doesnt do that.

Regards,

Peter

dseligo

  • Hero Member
  • *****
  • Posts: 1338
Re: TDblookupcombobox
« Reply #1 on: August 08, 2024, 11:27:37 am »
I didn't test it, but I think I do something like this:
Code: Pascal  [Select][+][-]
  1. yourDBLookupCombo.DataSource.DataSet.Edit;
  2. yourDBLookupCombo.ListSource.DataSet.First;

 

TinyPortal © 2005-2018