Re: Problem with columns
- Posted by martin.stachon at worldonline.cz Jun 23, 2001
- 420 views
> martin.stachon at worldonline.cz wrote: > >Using ListViews gives a better look, but you must > > store index returned by addLVitem and then when using getIndex or > > deleteItem > > refer to this index. > > > Martin, > > I don't know how you're using list views but I have never found a need > to store the index returned by addLVItem. Usually I allow the user to > double-click or click-then-press-a-button to select an entry from a list > view. You would get the index selected by using getLVSelected. > > Jonas > Hi Jonas, With deleteItem() you must refer to index returned by addLVitem. In my program, LV refers to a data stored in sequence. Each entry has stored its LV index returned by addLVitem. If user selected an entry from LV and want to know which item of sequence it refers to, I compare index returned by getIndex() with indexes stored in sequence. (The program is Euphoria E-mail client) and it works fine.