Listbox highlight rows confusion

bob.miller at parker.com (4/28/14 4:48PM)
Keisuke Miyako (4/29/14 1:11AM)


bob.miller at parker.com (4/28/14 4:48 PM)

<OFF68CFF02.C819D0F7-ON85257CC8.0071740D-85257CC8.0072350F@...

Hi Everyone,

I'm doing something for the first time, and am clearly doing it wrong.

I have a listbox with a bunch of arrays, and I want to highlight some
key
rows (that indicate that a date is past expiration).

I create a longint array aListboxRowColors and if the date is good, I
put
in one value, if the date is bad, another value. ?I associate this
array
with the listbox on the listbox properties palette, "Row Background
Color
Array". ?I've also added this array to my listbox so if someone sorts
the
listbox, this array gets sorted, too - so the color "sticks" with the
rows.

But here's where something is failing: even though I can see the
aListboxRowColors array on my listbox, when I sort by any other
column,
all the arrays get sorted *except* for aListboxRowColors. ?As a
result, if
row #2 is red, for example, if someone does a sort, then row #2
remains
red and I can see that the column for aListboxRowColors isn't sorted!

What am I doing wrong here, that my color array isn't being sorted?

Bob Miller
Chomerics, a division of Parker Hannifin Corporation

Keisuke Miyako (4/29/14 1:11 AM)

I think you shouldn?=80&ocirc;t have added the colour control array to the
listbox...

On 2014/04/29 5:48, "bob.miller@... <<bob.miller@...
wrote:

color><param>00000,0000,DDEE/param>WWhat am I doing wrong here, that
my color array isn't being sorted?
/color>

Reply to this message

Summary created 4/29/14 at 8:29AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com