AdvancedHMI Software
General Category => Additional Components => Topic started by: Archie on April 29, 2017, 12:01:54 PM
-
- Add the attached file to AdvancedHMIControls\PurchasedControls
- Copy GraphicIndicator.vb and paste into the same project
- Rename GraphicIndicator Copy.vb to ImageSelectByBitHMI.vb
- View the code of the file you copied.
- Change the class name to ImageSelectByBitHMI
- Change the Inherits to point to ImageSelectByBit
-
hello
i tried to do what you said
i lost all the controls
!!!
-
and these are the files i add in the PurchasedControls
now after i deleted them my project got back to normal with no errors
-
i tried that on new AdvancedHMIv399w empty project
-
the problem is in ImageSelectByBitHMI.vb file when i add it and change in the code to
Inherits MfgControl.AdvancedHMI.Controls.ImageSelectByBit
the project gives 27 errors
-
That's what happens when I post something without testing it.
Attached is a file that will work. Add this file and the one above to your PurchasedControls folder
-
great
it worked :)
thanks man
u r the best
-
one note
i inserted ImageSelectByBitHMI1 then i choosed the off picture and the on picture
then i choosed the plcvalue address
now when i run the project it works great
but if i copy ImageSelectByBitHMI1 and paste it because i need more than one
and changed the plcvalue addresses
i run the project and they work but the onpicture does not animate so i choose it again for each copy
after that everything is good
why do you think every copy i make i have to re-choose the animated picture ?