Is there an easy way to determine the row of a DataBrowser or
DataColumn? For example I Want to change the Color of a cell based on
the value of another cell. any Ideas?
Additional question: Is there a way to change the color of an entry in
a ListBox ?
thanks
Sent via Deja.com http://www.deja.com/
Before you buy.
You pointed to THE PROBLEM with VO databrowser: coloring cells based on
(who could ever think this could be useful) other cells value!!! If you are
somehow new to this NG you may not know how often this subject reappears.
But we only get have two answers:
1. Silence from CA-VO (Sabo & company) that prefer to hold some top secret
code arround VO-Databrowsers.
2. Check Gunnard`s presentation at CA World.(pretty complete altough not so
easy to understand and no completely functional)
Regarding coloring list view (lines and cells) in the Wisdom file (Thank
you Richard) there is an entry "ListView background and text color" that
demonstrates how to do it.
I hope it helps!
Sergio
Lima, PERU
ACCESS iColumn CLASS DataColumn
RETRUN SELF:iDataField
...
oColumn:EnableCellDraw( #DrawCell )
...
METHOD DrawCell( uValue ) CLASS DataColumn
IF SELF:iColumn = 3 // For example
IF SELF:Owner:GetColumn( #AnotherColumn ):Value = ???
...
END
ELSE
SELF:CellTextColor:=...
SELF:CellBackground:=...
END
RETURN NIL
Jean Peskov chj...@transts.ru
stei...@my-deja.com пишет в сообщении <83aur8$mi$1...@nnrp1.deja.com> ...
>Hello all
This explains all you want to know and most of the code is already written
for you. If you have trouble making this work then please come back to the
NG with specific problems. I am sure we can help you.
Geoff
<stei...@my-deja.com> wrote in message news:83aur8$mi$1...@nnrp1.deja.com...