Weird Behavior in Power Builder . App crashes

Javier Barbieri
Javier Barbieri used Ask the Experts™
on
Weird Behavior...

Hello friends:

I have developed a project using Sybase Power Builder 12.5. The application is using a mysql database and

running on Windows 8. The application works fine but I have found a weird behavior on certain windows. Let's

say, if you click on the "X" icon located at the top right, the window will be closed normally or if you try ALT

+ F4 as we know it will do the same.

This is what happen with certain windows... The final user wanted me to code the ESC key, so when the user hits

that its when the application window will close right away... I just added a simple command button and check on

the property "cancel" on that command and it will execute the script inside that button... for my own cdoulase I

just added the command "CLOSE(PARENT)" inside that script add thats all !! But this is what happens... I hit the

ESC and the application produces an exception and crashes. Any idea what would be the source or origin of this

problem?

Thank you in advance


Javier W. Barbieri
Lima, Peru
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Did you try by removing CLOSE(PARENT)?
Closing due to inactivity

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial