01-31-2013 11:39 PM
I want to have a fuction in my vi such that whenever a user writes anything on a file(a table present on fp)and tries to close the vi without saving the file, he should get a notification to save the file as we get in Microsoft office (shown in attached image as reference).Any takes on this??
01-31-2013 11:57 PM
Yes - you need to use an event structure with the Panel Close? event.
02-01-2013 06:54 AM - edited 02-01-2013 06:55 AM
As stated, you need to use an event structure. Choose the "Panel Close?" event under "This VI". I recommend using the filter event (will have a red arrow next to it, plus the ? in the name) so that you can discard the event and leave your panel open if you so desire.