Showing results 1 to 3 of 3

Thread: react on value change

  1. #1
    Join Date
    22.10.2013
    Posts
    14

    Default react on value change

    Hello again,

    I have new question. Maybe I had to create new thread but I do not want the people are tired from me :-)

    I have 2 internal variables: var1 and var2 that they make some things in small vba program when they change their value.
    To change their value I have created 2 numerical values squares ok.
    The problem that I find is that when I make the changes in the numerical values, the vba program does not react until I link this program to one button and one event (for example...leftclickup).

    What i want is: WHEN I CHANGE THE VALUE IN THE NUMERICAL VALUE SQUARE, automatically the program in vba reacts and it is not necessary to press any button.
    Thanks

  2. #2
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Drive, Dir and File List Box

    What i want is: WHEN I CHANGE THE VALUE IN THE NUMERICAL VALUE SQUARE, automatically the program in vba reacts and it is not necessary to press any button.
    if you want to react on value changes then use the Online Container ChangeEvent()

    http://www.copadata.com/forums/showthread.php?t=41

    or also in the help documentation at
    Manual -> Programming interfaces -> Object model -> OnlineVariables

    regards,
    herbert


  3. #3

    Default Re: react on value change

    Hi rgv0021,

    Another alternative to using an online container is to use a numeric reaction matrix, create a status and set the value to "any", and activate the checkbox "treat each change of value as a new limit violation".

    At this status, link the "execute vba macro" function, and link the reaction matrix to the variables that are changed.

    Best regards,
    Mark

Similar Threads

  1. Ip-Change(S7TCP32) with VSTA
    By s.jonigk in forum VSTA
    Replies: 10
    Last Post: 7th February 2017, 15:08
  2. Detect Language Change
    By yavaskoray in forum VSTA
    Replies: 4
    Last Post: 6th August 2013, 13:02
  3. flashing when value change
    By focus in forum zenon Supervisor
    Replies: 3
    Last Post: 23rd January 2012, 00:11
  4. how to change driver in runtime
    By victoria in forum VBA
    Replies: 4
    Last Post: 11th October 2011, 23:32
  5. Replies: 0
    Last Post: 21st August 2007, 08:15

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •