getIndex() and ListViews
- Posted by Virtual B <behaviorself at netzero.net> Jun 14, 2001
- 351 views
Hi everyone, Usually I just do a lot of lurking around here because I'm still pretty new at this, and most of my questions have already been answered in previous messages. This time, however, I can't seem to find an answer (I found the exact same question, but couldn't find a reply to it!) I'm having some trouble with using getIndex() on ListViews. I had been using getIndex() with a list in the same program, and it worked fine. But since I've started using a ListView instead, whenever it gets to getIndex() the program crashes and gives me an error message saying that "variable msg has not been assigned a value." Also, it seems that only the first item can be selected instead of the whole row. I'm not sure about that one since I can't get the index for a line, but only the first item is highlighted instead of the whole row. Thanks in advance, Virtual B