making an image visible/invisible

Help
Andyandy26
2013-07-02
2013-07-02
  • Andyandy26

    Andyandy26 - 2013-07-02

    I am using a graphicIndicator to show a single picture and i would like to make the plc make it invisible using the PLCAddressvisible however when I have tried both a bit and output value, it gives me a "invalid visible value". can I have some assistance as I have spent many days on this and can do it. All I want is to be able to have a picture that will disappear COMPLETELY. :(

     
  • Andyandy26

    Andyandy26 - 2013-07-02

    (it works with a pilot light making it visible/not, just not this object)

     
  • Archie

    Archie - 2013-07-02

    For some reason the code for the GraphicIndicator is different. If you open GraphicIndicator.vb and go to line 373, you can see where it handles the value for determining visibility. PolledDataReturnedVisible

    You can go to line 363 in the PilotLight and copy that code to put in the GraphicIndicatior.

     
  • Andyandy26

    Andyandy26 - 2013-07-02

    oh my thank you :) it works! thanks for replying so quickly! (second time you've been so helpful)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks