R
Roland Riess
Hi all,
did somebody have this problem before and found a solution?
A while ago I already found that when I display a message box (asking to
confirm the deletion of the item) after having selected an item in a
list box and clicked a button, the selected index is reset to -1 after
returning to the form with the list box. So I stored the index in a
variable before displaying the message box and reset the selected index
to the stored value afterwards.
But from time to time other items than the selected one had vanished and
having a closer look now I found that (at least sometimes) the indexes
of the list box items had changed after returning from the message box.
This seems an extremely strange behaviour to me but I could not find any
hints in the Google archives concerning this phenomenon. Somebody ever
experienced or heard of this problem? Any ideas are welcome ...
Thanks.
Regards
Roland
did somebody have this problem before and found a solution?
A while ago I already found that when I display a message box (asking to
confirm the deletion of the item) after having selected an item in a
list box and clicked a button, the selected index is reset to -1 after
returning to the form with the list box. So I stored the index in a
variable before displaying the message box and reset the selected index
to the stored value afterwards.
But from time to time other items than the selected one had vanished and
having a closer look now I found that (at least sometimes) the indexes
of the list box items had changed after returning from the message box.
This seems an extremely strange behaviour to me but I could not find any
hints in the Google archives concerning this phenomenon. Somebody ever
experienced or heard of this problem? Any ideas are welcome ...
Thanks.
Regards
Roland