Página 1 de 1

DBBrowse : Can I change Color of particular row ?

Publicado: Mar Mar 09, 2010 4:04 pm
por Milan Mehta
Is there any way by which I can change the color of the row based on the
value of a field ?
e.g. If abc > 0, row should be displayed in Green otherwise Black.
TIA
Milan.

DBBrowse : Can I change Color of particular row ?

Publicado: Mar Mar 09, 2010 5:41 pm
por ignacio
Milan,
Take a look at event TBrwColum:OnDrawCell
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Is there any way by which I can change the color of the row based on the
> value of a field ?
> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>
> TIA
> Milan.
>

DBBrowse : Can I change Color of particular row ?

Publicado: Mar Mar 09, 2010 5:41 pm
por ignacio
Milan,
Take a look at event TBrwColum:OnDrawCell
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Is there any way by which I can change the color of the row based on the
> value of a field ?
> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>
> TIA
> Milan.
>

DBBrowse : Can I change Color of particular row ?

Publicado: Sab Mar 13, 2010 5:41 am
por Milan Mehta
Dear Ignacio,
It worked great. Thanks a lot.
With OnDrawCell event I could change the color of the cell.
One more question : Is there any way to make the entire row in a different
color ?
TIA
Milan.
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:4b967a2c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Milan,
>
> Take a look at event TBrwColum:OnDrawCell
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
>
> "Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
> noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Is there any way by which I can change the color of the row based on the
>> value of a field ?
>> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>>
>> TIA
>> Milan.
>>

DBBrowse : Can I change Color of particular row ?

Publicado: Sab Mar 13, 2010 5:41 am
por Milan Mehta
Dear Ignacio,
It worked great. Thanks a lot.
With OnDrawCell event I could change the color of the cell.
One more question : Is there any way to make the entire row in a different
color ?
TIA
Milan.
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:4b967a2c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Milan,
>
> Take a look at event TBrwColum:OnDrawCell
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
>
> "Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
> noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Is there any way by which I can change the color of the row based on the
>> value of a field ?
>> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>>
>> TIA
>> Milan.
>>

DBBrowse : Can I change Color of particular row ?

Publicado: Sab Mar 13, 2010 11:53 am
por ignacio
Milan,
Capture the same event on all the columns redirecting them to the same form
method .
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
noticias:4b9b176c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Dear Ignacio,
>
> It worked great. Thanks a lot.
> With OnDrawCell event I could change the color of the cell.
> One more question : Is there any way to make the entire row in a different
> color ?
>
> TIA
> Milan.
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
> news:4b967a2c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Milan,
>>
>> Take a look at event TBrwColum:OnDrawCell
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Equipo de Xailer/Xailer team]
>> http://www.xailer.com
>> http://www.xailer.info
>>
>> "Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
>> noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Is there any way by which I can change the color of the row based on the
>>> value of a field ?
>>> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>>>
>>> TIA
>>> Milan.
>>>
>
>

DBBrowse : Can I change Color of particular row ?

Publicado: Sab Mar 13, 2010 11:53 am
por ignacio
Milan,
Capture the same event on all the columns redirecting them to the same form
method .
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
noticias:4b9b176c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Dear Ignacio,
>
> It worked great. Thanks a lot.
> With OnDrawCell event I could change the color of the cell.
> One more question : Is there any way to make the entire row in a different
> color ?
>
> TIA
> Milan.
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
> news:4b967a2c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Milan,
>>
>> Take a look at event TBrwColum:OnDrawCell
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Equipo de Xailer/Xailer team]
>> http://www.xailer.com
>> http://www.xailer.info
>>
>> "Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
>> noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Is there any way by which I can change the color of the row based on the
>>> value of a field ?
>>> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>>>
>>> TIA
>>> Milan.
>>>
>
>