Click to See Complete Forum and Search --> : please help me to add to collection.


coolily
January 20th, 2000, 07:12 PM
i created a class using classbuilder in a standard exe. the class had 3 properties
num1(int),num2(int),str(string).
i then added this class to a collection.
my form has 3 textboxes, one for each type of data and a commandbutton
and a listbox to view the added data.

please tell how to add the data through the textboxes
and display them in the list box.

chem1
January 20th, 2000, 10:55 PM
Use the following code

List1.Additem text1.text
List1.additem text2.text

Anon
January 21st, 2000, 09:05 AM
what coolily meant was howC to add into a collection?

chem1
January 21st, 2000, 11:46 AM
Dear Coolily,
give me ur e-mail and I will send u an attached file.Perhaps that can help you
Waiting.....
Kamran.

Anon
January 21st, 2000, 01:39 PM
coolily@coolmail.com

coolily
January 24th, 2000, 12:57 PM
kamran,
please send the attachment tocoolily@coolmail.com please...
regards
coolily