DBLookupComboBox

Please discuss general Delphi programming topics here.

DBLookupComboBox

Postby Naser » July 8th, 2005, 7:34 pm

I want after form show select the first item of DBLookuoComboBox
Please Help Me Thanks
Naser
Active Member
Active Member
 
Posts: 17
Joined: March 6th, 2005, 5:31 pm
Location: Iran - Esfahan

Postby Radagast » July 10th, 2005, 8:32 pm

Code: Select all
Form1.OnShow;
begin
 DBLookupComboBox.Items.Index:=0;
end;

albo
Code: Select all
DBLookupComboBox.ItemIndex:=0;

:?: Have you checked it? It works for normal ComboBox so I don't see any reason it shoul be different, but I can't check cause I don't have that component.
Radagast
Active Member
Active Member
 
Posts: 24
Joined: May 1st, 2005, 9:32 pm
Location: Poland


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 19 guests

cron