How to close string capturing window?
Posted by Gian Luca De Bonis on 24 May 2011 11:52 AM

Q: When I close my MDI frame, the string capturing window is still running, and I need to close it explicitly. Can I close it when my application’s last window closes?

A: PowerBuilder stops the event handling when the last window is closed or when an HALT (or HALT CLOSE) is executed. When HALT CLOSE is executed, the close event of the application object is fired. To close the String Capture window, you can add a HALT CLOSE command at the end of the close event of the MDI frame.

(1 vote(s))
Not helpful

Comments (0)