Hi Boys & Girls!

I am working with a binary file where i store only a record variable
people = record
name:array[1..20] of char;
lastName:array[1..20] of char;
etc
...
end;
The idea is to have a little data base in this binary file. The work is in progress, and untill now, the program can write data into the file, and i have some data in a test file, but now i have a big problem: ¿how can I access the data in the file?
-> I made a "search!" button that searches in the file for people's name, then it displays the matches in a listbox (so the user can select the name he is searching for and then the program would display the whole information the user wants).
But.... what if there are two or more people that have the same name?
That's the reason why I want to display on my listbox the name, the last name and maybe some other usefull information in different columns.
I've tried searching on internet, and i found a topic that says that i have to use this two different commands
^I
^|
But it doesn't works.
Source (check the second reply to view the example code)
http://www.clubdelphi.com/foros/showthread.php?t=17580
Also, I've tried writting
ListBox1.Items.
and checked the pop up menu searching for any clues, but I didn't understood it very well.
It's the first time I'm working with Lazarus, before that, the only OOP I worked with was Visual Basic. I have "self-learned" the OOP... so my knowledges may not be so polished
By last, sorry for my english mistakes, i hope you understood my problem.
cheers!

PS: Second question...
If i select an item from the listbox.... how can i know what item i've selected? (the first item, the second item, etc?) I mean: whenever i select an item, is there a "index" property of the listbox that changes?
PS(2):Second question Solved by myself:
Use ListBox1.ItemIndex to know the selected item number