Here is a "solution" to edit an item in a list (the example is for a list box but should work for a combo box too)
I make some "discoverie s" trying to develop that code:
Is no way to add to a list box an item like this:
I am a coder; The best one !
When I try to add this item (using .AddItem method) to a list box with only one column, only first part (I am a coder) has been added. The second part has been lost.
For a list box with many columns this item is split: first part in first column, the second part in the second column.
So is it possible to add, in a single "cell" an item that contain the ";" sign ?
Another thing:
Is no way to deselect all items.
Somewhere I read that
should work.
Yes. This work until... an item in the list box is "". If this happen, this "empty" item will be selected.
Of course, as a human I can use this:
But as coder I can't be sure that even this "crazy" string will not appear at a moment.
If you have some solution to this problems please let me know.
Thank you !
I make some "discoverie s" trying to develop that code:
Is no way to add to a list box an item like this:
I am a coder; The best one !
When I try to add this item (using .AddItem method) to a list box with only one column, only first part (I am a coder) has been added. The second part has been lost.
For a list box with many columns this item is split: first part in first column, the second part in the second column.
So is it possible to add, in a single "cell" an item that contain the ";" sign ?
Another thing:
Is no way to deselect all items.
Somewhere I read that
Code:
ListBox = ""
Yes. This work until... an item in the list box is "". If this happen, this "empty" item will be selected.
Of course, as a human I can use this:
Code:
ListBox = "ThisStringNeverWillAppeareInMyListBox"
If you have some solution to this problems please let me know.
Thank you !
Comment