I have a listbox where i want use additems method to additems into three columns on the listbox. This is what I did
------------------------------------->
"I have sought your assistance on this matter because I have exhausted all the help that I can find. You are free to direct me to other source of help"
Code:
this.cousins.Clear && removing existing items
SCAN WHILE !EOF()
disrow = RECNO() &&this.cousins.ListCount + 1
part1 = PADR(ALLTRIM(tempcard.fname),20,[ ])
part2 = PADR(ALLTRIM(tempcard.lname),20,[ ])
part3 = PADR(ALLTRIM(STR(tempcard.totbal,10,2)),10,[ ])
this.cousins.addlistItem(part1,disrow,1,part2,disrow,2,part3,disrow,3)
ENDSCAN
------------------------------------->
"I have sought your assistance on this matter because I have exhausted all the help that I can find. You are free to direct me to other source of help"