Announcement

Collapse
No announcement yet.

Enable/disable widgets from host

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Enable/disable widgets from host

    Hello,

    I would like to ask if is there any possibility in ViSi-Genie to control if widgets other than buttons are enabled or disabled? Of course I need the widgets to be visible all the time (but "greyed" like in any regular GUI system).

    Regards,
    Przemyslaw
    Last edited by imer; 1 week ago.

  • #2
    Hi,

    The Winbutton only has the 2 visible states for up and down. The button can be disabled from a host by writing a -1 as value but won't give it a greyed out look.

    One possibility would be to create a Userimage on top of the original button made to look like a greyed out button. You can then disable or enable the button and write to the image object to bring it on top when you dsiable the button.

    I hope this helps

    Best regards

    Paul

    Comment


    • #3
      Originally posted by pauleilio View Post
      Hi,

      The Winbutton only has the 2 visible states for up and down. The button can be disabled from a host by writing a -1 as value but won't give it a greyed out look.


      Paul
      Thank you for reply. Does it apply to other types of buttons and other widget types (eg. sliders, coolgauges and so on)?

      Best regards,
      Przemyslaw

      Comment


      • #4
        Hi,

        Sorry for the delay in answering,

        I will carry out some further tests. It will apply to all button types.

        Best regards

        Paul

        Comment

        Working...
        X