Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Determine Row of DataBrowser/DataColumn

48 views
Skip to first unread message

stei...@my-deja.com

unread,
Dec 16, 1999, 3:00:00 AM12/16/99
to
Hello all

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.

SergioC

unread,
Dec 16, 1999, 3:00:00 AM12/16/99
to
Hi ????:

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

Jean Peskov

unread,
Dec 16, 1999, 3:00:00 AM12/16/99
to
Response.

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

Geoff Schaller

unread,
Dec 17, 1999, 3:00:00 AM12/17/99
to
As the other respondents have said, this is all quite possible but you must
first obtain TA101S from TC99 on the CA ftp site and then try and obtain
TN101SS from Gunnar Bless direct. His details are in the first document.

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...

0 new messages