FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Putting a conditional image in a table column
Putting a conditional image in a table column
Iniciado por Kevin Erskine, 23,abr. 2009 09:40 - 3 respuestas
Conéctese…
Kevin Erskine
#1
Publicado el 23,abril 2009 - 09:40
WebDev v12
I have defined a column in a table based on a file as an IMAGE column.
In the code embed for the column I have
If condition = true then
myself..value = "Image.gif"
else
myself..value = ""
END
But thisis not working -- I tried ..image but it said invalid
How do I assign an image at runtime to an image column in a table?
Thanks.
--
Kevin Erskine
Software By Ragazzi
www.Software-By-Ragazzi.com
Alameda, CA (USA)
Informar
0
0
Christian Potvin
#2
Publicado el 24,abril 2009 - 02:45
Hi Kevin,
Maybe this post can help you:
http://forum.pcsoft.fr/thread.awp…
Christian
Kevin Erskine a écrit dans le message de news <49efb567@news.pcsoft.fr> :
WebDev v12
I have defined a column in a table based on a file as an IMAGE column.
In the code embed for the column I have
If condition = true then
myself..value = "Image.gif"
else
myself..value = ""
END
But thisis not working -- I tried ..image but it said invalid
How do I assign an image at runtime to an image column in a table?
Thanks.
--
Kevin Erskine
Software By Ragazzi
www.Software-By-Ragazzi.com
Alameda, CA (USA)
Informar
0
0
Kevin Erskine
#3
Publicado el 24,abril 2009 - 09:05
Thanks - I have the following code, but no luck
IF Person.CustomerID=0 THEN
COL_Customer = "Btn_Delete.gif"
ELSE
COL_Customer = "bullet.gif"
END
I do not get any image - just a red X -- the images are under _WEB
I tried under "Initialization" of COL_Customer -- any ideas -- ther article
was not too clear of where to code
"Christian Potvin" <cpotvin@beaulieucanada.ca> wrote in message
news:264b04c133351e0a35f0d05ad4ed91e5@news.pcsoft...
Hi Kevin,
Maybe this post can help you:
http://forum.pcsoft.fr/thread.awp…
Christian
Kevin Erskine a écrit dans le message de news <49efb567@news.pcsoft.fr> :
WebDev v12
I have defined a column in a table based on a file as an IMAGE column.
In the code embed for the column I have
If condition = true then
myself..value = "Image.gif"
else
myself..value = ""
END
But thisis not working -- I tried ..image but it said invalid
How do I assign an image at runtime to an image column in a table?
Thanks.
--
Kevin Erskine
Software By Ragazzi
www.Software-By-Ragazzi.com
Alameda, CA (USA)
--
Kevin Erskine
Software By Ragazzi
www.Software-By-Ragazzi.com
Alameda, CA (USA)
Informar
0
0
Rubén Sánchez Peña
#4
Publicado el 25,abril 2009 - 14:38
Hi Kevin. When i want change the imagen in runtime i use:
1) I create hidden images in the page by each image option. You can assign
the image by path using the fwebdir() function like path for _WEB directory
but then you must put the images in _WEB directory.
2) In Table code "Row Display" i assign the correct image to table column
Col_Image = ImageX
Rubén Sánchez Peña
"Kevin Erskine" <KErskine@Software-By-Ragazzi.com> escribió en el mensaje de
noticias news:49f11b69$1@news.pcsoft.fr...
Thanks - I have the following code, but no luck
IF Person.CustomerID=0 THEN
COL_Customer = "Btn_Delete.gif"
ELSE
COL_Customer = "bullet.gif"
END
I do not get any image - just a red X -- the images are under _WEB
I tried under "Initialization" of COL_Customer -- any ideas -- ther
article
was not too clear of where to code
"Christian Potvin" <cpotvin@beaulieucanada.ca> wrote in message
news:264b04c133351e0a35f0d05ad4ed91e5@news.pcsoft...
Hi Kevin,
Maybe this post can help you:
http://forum.pcsoft.fr/thread.awp…
Christian
Kevin Erskine a écrit dans le message de news <49efb567@news.pcsoft.fr> :
WebDev v12
I have defined a column in a table based on a file as an IMAGE column.
In the code embed for the column I have
If condition = true then
myself..value = "Image.gif"
else
myself..value = ""
END
But thisis not working -- I tried ..image but it said invalid
How do I assign an image at runtime to an image column in a table?
Thanks.
--
Kevin Erskine
Software By Ragazzi
www.Software-By-Ragazzi.com
Alameda, CA (USA)
--
Kevin Erskine
Software By Ragazzi
www.Software-By-Ragazzi.com
Alameda, CA (USA)
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto