Exforsys
+ Reply to Thread
Results 1 to 2 of 2

How to distunguish between events and states

This is a discussion on How to distunguish between events and states within the Software Patterns forums, part of the Testing category; Hi, I have a UI module in which has 15 controls like buttons, combo box, etc. When an action happens ...

  1. #1
    Vinodh Kumar P Guest

    How to distunguish between events and states

    Hi,
    I have a UI module in which has 15 controls like buttons, combo box,
    etc. When an action happens on any one of the UI controls a certain subset
    of the controls needs to be modifed to enable or disable.Actions on some UI
    controls does major works of the workflow whereas actions on other UI
    controls results in less changes.Given this scenario How shall distunguish
    between events and states?

    Thank you.

    Regards,
    Vinodh Kumar P






  2. #2
    green earth Guest

    Re: How to distunguish between events and states

    Vinodh Kumar P wrote:
    > Hi,
    > I have a UI module in which has 15 controls like buttons, combo box,
    > etc. When an action happens on any one of the UI controls a certain subset
    > of the controls needs to be modifed to enable or disable.Actions on some UI
    > controls does major works of the workflow whereas actions on other UI
    > controls results in less changes.Given this scenario How shall distunguish
    > between events and states?
    >


    Typically an event will occur when an action happens and this will
    change the state of one or more UI controls.

    For example,

    a user clicks a button, clicking the button generates a button-clicked
    event and the handler for this event will then perform some action which
    may change the apps state.





Latest Article

Network Security Risk Assessment and Measurement

Read More...