The List property is an array of strings. (to be displayed)
The ItemData property is an array of Longs. (to be used for identifying
List items in code)
You might use the ItemData property if several items in the list have the
same meaning. Or you might use the ItemData property if the user selects
an item which has some numeric meaning. It's there if you need it.
Don't put more than 32767 (the maximum integer value) items in a ListBox
or ComboBox. VB won't stop you from adding more, but some funny thing
happen. For example, if you add a few more items, the ListCount property
will return the wrong value. Certainly, if you have more items than this,
you should be using a String array, a temp file, or some other method.
I don't understand the first question. If your code doesn't have the
ability to remove items, then the items are permenant. (?)
On Mon, 5 Apr 2004 19:03:00 -0400, Miljours <sr******@yahoo.ca> wrote:
Hi & TIA everyone
Q1 : Is there a way, at runtime, one may put Data in a ComboBox
permanently?
Q2 : Is there a maximum of item in ComboBox?
Q3 : What is the difference between LIST property and ITEM property?
Thanks
JMM