Home > Back-end >  How to reference the Delphi combobox in each row
How to reference the Delphi combobox in each row

Time:10-15

The couple please eldest brother to help
As the topic how to reference each row in the combobox

CodePudding user response:

References do not know how to understand,

CodePudding user response:

ComboBox1. Items. Strings [I]

CodePudding user response:

Reference is to want to say take its value?

 
Var
I: Integer;
The begin
For I:=0 to combobox1. Items. Do the Count - 1
The begin
ShowMessage (combobox1. Items. Strings [I]);
end;
end;

CodePudding user response:

refer to the second floor case5166 response:
ComboBox1. Items. The Strings [I]





Thanks brother

CodePudding user response:

A good habit, to solve the problem, we must give points, otherwise a vicious cycle, nobody answer questions,

CodePudding user response:

Why haven't pay, I to increase recovery amount
  • Related