Hi all,
what are best practices for comlex ui behaviors?
What I mean by that.
If you have form whith datawindow control and some buttons on that form (or some other ui elements). And you need to, enable/disable some columns in datawindow same as UI elements on form itself. Some rules depend on combinations of values from DataWindow. You need to behave on new record, retrieved record from DB, while editing form, and so on.
I know that this is possible control in ItemChanged event of DW, on RetrieveRow/RetrieveEnd and so on. I can do i using expressoins on DataWindow in script, ....
But It is really mess to have all logic spread over whole window, datawindow, ....
Are there some best practices for such a scenario?
Thank you Ales
I will try to use MVP pattern and will see how it goes.