AdvancedHMI Software
General Category => Support Questions => Topic started by: oqapsking on April 29, 2017, 06:24:06 AM
-
hello
what i do some times is to read true / false address then the picture changes according to it
something like (ImageDisplayByValue) one image is jpg and one is animated gif
the way i do it is i put picturebox , basiclable and timer then add the pictures i need in the project resources
after i put the basiclabel values and properties
i go to the timer code
and write this
if basiclabel.value = true then
picturebox.image = Global.MfgControl.AdvancedHMI.My.Resources.Resources.imageOff
else
picturebox.image = Global.MfgControl.AdvancedHMI.My.Resources.Resources.imageOn
end if
now to my question
can i make my own class to do all the above ???
the reason i do this is that ImageDisplayByValue does not support animated ( gif) images and treats them all as jpg
with thanks
-
can i make my own class to do all the above ???
the reason i do this is that ImageDisplayByValue does not support animated ( gif) images and treats them all as jpg
Yes, but why not use the GraphicalIndicator?
-
it does not support animation
-
it does not support animation
That's true it doesn't. I started a new control that will support it:
http://advancedhmi.com/forum/index.php?topic=1748.0
-
thanks man
it worked great