This topic is locked

Changing listpage checkbox icons

1/19/2009 3:32:12 AM
ASPRunnerPro General questions
Z
zion4ever author

Hello all,
Maybe a dumb question, but does anyone know how to change the icons used on the list page.

I have a table with READ EDIT and CANCEL rows. The values are 0 or 1.

The presentation is set on the list page as VIEW as checkboxes. It seems that if the value = 0 then check_no.gif in the images folder is used. Else, check_yes.gif from that folder is displayed. Where would i modify the asp code so that if value = 0 I can use redcross.gif or if value=1 I can use greenOK.gif
Tia
Hans

S
stealthwifi 1/19/2009

Hello all,

Maybe a dumb question, but does anyone know how to change the icons used on the list page.

I have a table with READ EDIT and CANCEL rows. The values are 0 or 1.

The presentation is set on the list page as VIEW as checkboxes. It seems that if the value = 0 then check_no.gif in the images folder is used. Else, check_yes.gif from that folder is displayed. Where would i modify the asp code so that if value = 0 I can use redcross.gif or if value=1 I can use greenOK.gif
Tia
Hans


Why not just rename redcross.gif to check_no.gif and greenOK.gif to check_yes.gif?

Z
zion4ever author 1/20/2009

tnx for the reply.

I have thought about that, but on some other pages I do use the check_x.gifs
Thnx again.

J
Jane 1/20/2009

Hi,
use custom format for these fields on the "View as" settings dialog on the Visual Editor tab.

N
nickditrolio 2/4/2009

Hi,

use custom format for these fields on the "View as" settings dialog on the Visual Editor tab.


is this how would you use it? example:

in the custom field:

if (data["field1"]==1)

use greenok.gif

if(data["field1"==0)

cross.gif

else //leave blank

J
Jane 2/5/2009

Nick,
what program do you use: PHPRunner or ASPRunner?