FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
Image woes
Image woes
Iniciado por DT, 21,nov. 2005 15:08 - No hay respuesta
Conéctese…
DT
#1
Publicado el 21,noviembre 2005 - 15:08
Hi All
I have a Treeview displaying a list of people.
On the same form (plane 1) I display the persons details which includes a photo in an image control.
The image control is linked to the data file.
If I click on a person I get their ID using TreeIdentifier, run a procedure which by Using FileToScreen displays the data.
Clicking on a second person runs the same process and will display an image if one is available or, if not, will clear the image.
So far so good but.....
In the 'Click on' section of the Treeview I have the following code
cTreeType is string = TreeTypeItem(tv_Employee,TreeSelect(MySelf))
IF cTreeType = tvLeaf THEN
lp_ReadEmp() //Display employee detail
ELSE
Reset
HReset(Employee)
END
In the 'Node Collapse/Expand of' section I have the Reset and HReset(Employee) commands.
Everything works fine until I click on a Node or collapse a section.
Reset and HReset(Employee) spring into action and all controls are reset with no values displayed.
All controls that is except the image which steadfastly continues to display the last image.
I have checked with Trace and confirmed that the image link does not contain a value.
The question is how do I reset the image control?
Regards
DerekT
Informar
0
0
→ Volver a WINDEV 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