YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

every time I close a window asking me if I want to save Options · View
negado
#1 Posted : Thursday, August 11, 2011 7:43:53 PM
Rank: Newbie
Groups: Member

Joined: 7/13/2011
Posts: 8
hello
I just finished an application in PIProcessbook, this I used the API for "visual basic" that are included. this application is only a window of a ProcessBook which includes all manufacturing, problem is that whenever I'm in "Run mode" and try to exit the screen I think to enter another window ProcessBook asks me to save the application
How I can make me stop asking?

this only happens to me in this screen, the rest of the "ProcessBook" does not have this problem
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
RJK Solutions
#2 Posted : Thursday, August 11, 2011 8:05:54 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 617
Location: Cheshire, United Kingdom.
Hello,

You are likely manipulating the symbols on the display, which the display counts as a modification and needs to be saved. To stop the prompt for saving you could include the following in the "BeforeClose" event:

ThisDisplay.Modified = False
Principal Consultant
Real-Time Data Management @ Wipro Technologies
negado
#3 Posted : Tuesday, August 16, 2011 2:25:06 PM
Rank: Newbie
Groups: Member

Joined: 7/13/2011
Posts: 8
problem solve
thanks for your help
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.