06-19-2012 02:25 AM - edited 06-19-2012 02:26 AM
Hello
I have a sequence file open in TestStand. The sequence is modified and not saved so it contains changes. I'm trying to close it programmatically like in attached picture. I don't want to save the changes. I just want to ignore the changes, do not save and just close the file. To do that I'm trying to set the property "ApplicationManger->SaveOnClose" before calling method " ApplicationManger->CloseSequenceFile", but the property does not work. TestStand anyway shows the popup screen with question: "Do you want to save the file?"
Why does it not working and how to do that?
Thanks for any help
06-19-2012 09:59 AM
You probably need to handle the QueryCloseSequenceFile event in order to avoid the popup.
06-19-2012 10:12 AM
yes, but it might be difficult.
I have one workaround now: I save the sequence to some temporary folder and then remove it from this folder. This way popup screen does not appear but i wonder why the property SaveOnClose does not work at all?