realbasic-betas.mbox
[Top] [All Lists]

[Win NT4] Listbox refuses to hilite when clicking in row

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: [Win NT4] Listbox refuses to hilite when clicking in row
From: Nick Loveday <arneri at one dot net dot au>
Date: Tue, 30 Jan 2001 16:20:13 +1100
Dear List,

Tearing my hair out trying to find this one.

I have an app that has 2 multicolumn listboxes. One of them behaves normally
- when you click on a row it gets hilighted as expected.

The other listbox is similar except when you click on it the row is not
hilighted. Inserting me.refresh in the change event of the listbox doesn't
fix it, even though the change event is reporting the row clicked properly.
Interestingly, clicking on a column header (any will do) causes the last row
clicked to be hilighted properly.

There are four things about this listbox

- it has headings, 
- it is loaded by a thread that scans for files in a directory, loading the
listbox with text from the files,
- the 9th column is of zero width (hence invisible) but all cells in this
column contain data.
- all cells in columns 6,7 and 8 are inline editable.

On Win95/98 the listbox works fine. The problem exists only on NT4 boxes
including NT server.

The app is too complex and uses too much data to send a demo to REAL. So far
I'm unable to reproduce it building a demo from the ground up in a simple
app, nor able to cut the real app down to size and preserve the effect.

For the time being I'm resorting to horrible kludge which involves drawing a
blue canvas over the row clicked to make it appear "hilighted".

This is really ugly becuase the moment you click in an editable cell, no
matter what I do to put the cursor in the cell the canvas disappears under
the listbox so the selected row becomes hard to see at a glance.

Any thoughts ?

Cheers, Nick Loveday



---

Subscribe to the digest: 
<mailto:realbasic-dr-digest at lists dot realsoftware dot com>
Unsubscribe:
<mailto:realbasic-dr-off at lists dot realsoftware dot com>


<Prev in Thread] Current Thread [Next in Thread>
  • [Win NT4] Listbox refuses to hilite when clicking in row, Nick Loveday <=