PB Halt will not invoke the issue of the close event of application

Source: Internet
Author: User
Tags terminates

Found PB program Halt later did not call, application Close event, so Baidu a bit found

If you use only halt, the system aborts the application directly, and the object may not be released properly.
And halt close will normally close the main thread, so that the application close event will also execute normally, so halt should try not to use, recommended halt close
When PowerBuilder encounters Halt without the keyword CLOSE, it immediately terminates the application.
When PowerBuilder encounters Halt and the keyword close, it immediately executes the script for the close event for the A Pplication and then terminates the application. If There is no script for the Close event at the application level, PowerBuilder immediately terminates the application

PB Halt will not invoke the issue of the close event of application

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.