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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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. |
![]() |
| Thread Tools | |
|
|