1
Support Questions / Change stacklight
« on: April 14, 2017, 02:34:47 PM »
Hello all,
I am trying to change the stacklightcontrol in this post:
http://advancedhmi.com/forum/index.php?topic=1676.0
I have now 5 positions and one position I can change the color.
The thing is now that if I sellect the control from the toolbox you can see all 5 postions (so far so good) If I change the fifth position to either "none" of an other color the fift position goes away (stil good).
But if al resellect it it should be enabled again and that is not going oke. I have noticed that it looks like it is enabling but the whole stacklight is drawn wrong the lowest position is now over the base.
I have looked in the code but I can't find anything. I am a complete beginner with VB so it is not so easy for me. I hope that someone can have a look at it.
I have attached the control that i am working on.
Thanks in advance
I am trying to change the stacklightcontrol in this post:
http://advancedhmi.com/forum/index.php?topic=1676.0
I have now 5 positions and one position I can change the color.
The thing is now that if I sellect the control from the toolbox you can see all 5 postions (so far so good) If I change the fifth position to either "none" of an other color the fift position goes away (stil good).
But if al resellect it it should be enabled again and that is not going oke. I have noticed that it looks like it is enabling but the whole stacklight is drawn wrong the lowest position is now over the base.
I have looked in the code but I can't find anything. I am a complete beginner with VB so it is not so easy for me. I hope that someone can have a look at it.
I have attached the control that i am working on.
Thanks in advance