Avatar of Javier Barbieri
Javier Barbieri
 asked on

Weird Behavior in Power Builder . App crashes

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
DatabasesWindows OSSAP

Avatar of undefined
Last Comment
Prashant Sabnekar

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Prashant Sabnekar

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Prashant Sabnekar

Closing due to inactivity
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy