- Aleš Vojáček
- PowerBuilder
- Saturday, 18 December 2021 09:00 PM UTC
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
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.