Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddItem and ListBoxes
Message
From
03/08/1999 10:34:29
 
 
To
03/08/1999 04:23:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00249129
Message ID:
00249224
Views:
18
Bonnie-
AddItem adds the entire row to the listbox, so once you've issued the first AddItem, the second column exists. You simply assign the value to it. IOW, you would use the
Control.List(nRow [, nCol])[ = cChar]
syntax.

THIS.AddItem('FirstOne', 1, 1)
THIS.list(this.listCount, 2 ) = '2ndColumn'

This is just an alternative to Bruce's suggestion.

>THIS.AddItem('FirstOne', 1, 1)
>THIS.AddItem('2ndColumn', 1, 2)
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform