PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Image woes
Image woes
Started by DT, Nov., 21 2005 3:08 PM - No answer
Connect yourself…
DT
#1
Posted on November, 21 2005 - 3:08 PM
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
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text