realbasic-nug
[Top] [All Lists]

Re: Listbox selection deselect

To: kamm at sky-software dot com, REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Listbox selection deselect
From: Joseph Nastasi <joe at pyramiddesign dot us>
Date: Sat, 31 Jul 2004 10:19:04 -0400
Cc:
Delivered-to: realbasic-nug at lists dot realsoftware dot com

On Saturday, July 31, 2004, at 10:09  AM, Kamm Schreiner wrote:

Hi Joe,

I have a feeling you have only two options:

1. Listbox.DeleteAllRows and then refill the listbox

2. Write your own listbox control.

#2 probably isn't terribly difficult as long as you aren't going to have
multiple columns and need to scroll both vertically and horizontally.


It has multiple columns and some are invisible.
It doesn't make sense that this should not work. I've used the same technique for years in popumenus and listboxes (listindex = -1) with success. The only thing I can think of is that because I'm trying to do it in the cellclick event, I may be doing it too _early_; before the listbox even knows that it's click and has drawn the selection background.
--
Joseph Nastasi
Pyramid Design - a software development firm
http://www.pyramiddesign.us
Voice 609 601-0814      Fax 609 601-0815

Creators of FTP Suite for REALbasic
Creators of A-OK! The Wings of Mercury
http://www.youarego.com
Columnist for REALbasic Developer
http://www.rbdeveloper.com



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

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

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