When a user has made any changes to the text in textbox and then closes the app I want to prompt user that the text has been changed and do you want to save the changes.
I'm using Text1_Change() event to set an indicator to true and this works fine except for one thing. If user loads the textbox from an external file then decides to close app without doing anything the indicator has already been set to true because the _Change() event is fired when data is loaded.
I only want to prompt user if he/she has made changes and not when data is loaded into textbox
I'm using Text1_Change() event to set an indicator to true and this works fine except for one thing. If user loads the textbox from an external file then decides to close app without doing anything the indicator has already been set to true because the _Change() event is fired when data is loaded.
I only want to prompt user if he/she has made changes and not when data is loaded into textbox