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>
<mailto:realbasic-dr-off at lists dot realsoftware dot com>