Author Topic: making a stacklight  (Read 2091 times)

sunny

  • Newbie
  • *
  • Posts: 22
    • View Profile
making a stacklight
« on: March 11, 2017, 03:13:20 PM »
Hi everyone

I have no experiance with VB, but I have a question. Is it doable to expand the stacklight to 5 lights (because that is how you can buy them with 5 positions) and use a list box so you can choose the color that you want (I think you can buy them in Blue, Red, Green, Amber and White).

Thanks for any answers

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: making a stacklight
« Reply #1 on: March 11, 2017, 06:03:45 PM »
If you want to try your hands at programming custom controls, I posted a stack light control here:

http://advancedhmi.com/forum/index.php?topic=1676.0

sunny

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: making a stacklight
« Reply #2 on: March 12, 2017, 02:48:38 PM »
Thanks Archie for the quick reply. I will give it a go. See how far I come.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: making a stacklight
« Reply #3 on: March 12, 2017, 02:57:20 PM »
I updated the code to add a blue light