more G-Labs products

Author Topic: Raising event without showing notify window  (Read 1175 times)

September 17, 2015, 12:24:03 AM
Read 1175 times

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
As the subject says I would like to have the possibility to raise an event for a change to an parameter so When.ModuleParameterChanged((module, parameter) gets called, this without showing the notify window.

September 17, 2015, 12:34:44 AM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I'm not sure if you can do that directly, but you can get the same effect by clicking the red "x" when the notification displays.  This will add that notification to the filter so that it won't be displayed on the HG web interface.

September 17, 2015, 02:15:30 AM
Reply #2

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
What I'm looking for is just a little addition to HG core so I in the raiseEvent can opt out showing the notify window. I trigger stuff that are not interesting for the end user to see. Forcing the end user to hide irrelevant popups are not the way I want to go if I know it's irrelevant when coding.
« Last Edit: September 25, 2015, 12:50:55 AM by maxflax »

September 25, 2015, 11:23:22 PM
Reply #3

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I think the user only has to filter it once.  But, you could always look into the source and fork the code to add your update.