Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Sep 13, 1999

Message Box for Unsaved Changes

Question:
How do I get a message box to appear if users have not saved their work, asking them if they want to save their work? (I am using PowerBuilder 7 and Windows NT 4.0.)

Answer:
You need to check for modifications in the close query event of your window. If there are changes, you need to prompt the user and then set the return value to the event.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date