dcsimg
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

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


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.

 

 

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