Delphi Help!

Three last questions and ill try leave you guys alone:

1. What is the index value of the first item in a ListBox? ( i assume '1')
2. What is the index value of the last item in a ListBox? ( i assume lstModify.Count )

3. What is the data type of the items that MAY be stored in a listbox?

Listbox starts at 0 therefore

If MyList.Items.count>0 then
For i:=0 to MyList.Items.count-1 do

Listbox ends at Listbox.Items.count-1

If you leave out the if part then its crashes if the listbox is empty

Type of data = string up to 4gb each. For other types use arrays
 
Think u owe me, s1ght and Havoc a beer or three.. :D

Agree with this statement :D would have been here to help with the other questions but had to finish off my c++ prac & now to start that VB prac :D
 
...i feel like throwing up 50 min to go, dont think ill make the last q but oh well serves me right. Thanks again all :D
 
Ya I'm also here for a good while & if prac 9 is anything like that semester test then it'll be quick :)
 
lol I thought it was due for tomorrow! haha

haha, ya give me a pm if you need some help, since VB so similar to delphi I haven't had any trouble with it yet :)
 
Last edited:
lol I thought it was due for tomorrow! haha

haha, ya give me a pm if you need some help, since VB so similar to delphi I haven't had any trouble with it yet :)

Tut tut..soeones not reading their Eve announcements :P

Yeah same hey!

Was just saying if... :p

Thanks man same to u...

The final practical is due on 23 May 2008. Students do not have to attend this practical session.

HOWEVER...

Students are required to attend the practical session this week. Students must have started working on Practical 9 and must make use of this time to ask the assistants for help on any work they do not understand.

Attendance is compulsory and will be taken into consideration when marking Practical 9.
 
haha, were you with the big group for the semester test or the ones who were number 175+?
 
Top
Sign up to the MyBroadband newsletter
X