realbasic-nug
[Top] [All Lists]

Re: Set Active Cell Listbox

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Set Active Cell Listbox
From: Martin Fitzgibbons <rushsoft at bigpond dot net dot au>
Date: Fri, 1 Aug 2003 01:39:31 +1000
Walter,

ListBox2.listindex =  ListBox2.ListCount-1

does the trick, always highlighting the last row which is what I wanted in the end of a 1 column list box.

Martin

If you mean select it so the user can edit it, you can use Listbox.editcell 5,0. If you mean just highlight the cell, then I'm not sure that's possible.

At 12:45 AM +1000 8/1/03, Martin Fitzgibbons wrote:
A simple one that I can't seem to get right.

How do set the highlighted cell of a list box without clicking on it to say the 5th cell in the first column?

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>



---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>