Hi,
I have a window and wanted to use the contentsChanged property to check if an user has changed something in the window before closing it. I have a form with Textfields with an event TextChange that will set the ContentsChanged property of the window to True when triggered.
The issue is that I want to populate these textfields when the window is loading (before the user start editing) and when setting self.TF_Name.text = “Test”, the TextChange event is triggered and it changes the property of the window.
I could set a property (like initOngoing as boolean) and check it on the TextChange event to know if the form is loaded but I am retrieving data from multiple APIs to populate theses fields (asynchronous using URLConnection) and I have to check that all APIs calls are done without error to set this property to False for example.
Any ideas on how to do this?
Thank you.