/ Forums / Advansys Formativ / Creating Solutions with Formativ / Context sensitive toolbar icon

  • Creator
    Topic
  • #4248
    griesserag
    Participant

      Hello

      I created a toolbar icon and it works quiet well. But now I’d like to make it context sensitive, this means that the icon is only enabled if i.e. an appointment is selected. Otherwise it is disabled but visible.

      Is this possible? It would be great.

      Regards

    • Author
      Replies
    • #7594
      Support 2
      Moderator

        No, unfortunately it is not possible to dynamically change the state of an Applet’s toolbar icon.

        One alternative may be persisting a data flag to an INI file (for example) and when the applet runs you could first check the INI flag’s state and display a different message or just do nothing exit the applet.

        Regards,

        Advansys Support

      Viewing 1 replies (of 1 total)
      • You must be logged in to reply to this topic.