cancel
Showing results for 
Search instead for 
Did you mean: 

Menu become unresponsive in power builder

Former Member
0 Kudos
86

We are facing some issue with Menu.

After doing some work with application, somehow menu become unresponsive and not performing any action from the menu. If I will have another data window on app frame, that is working properly.

This is windows based application. We are using power builder 11.5.1 Build 4740

We are using PFC extensively in our application.

Thanks,

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Neil & Chris,

Thanks for the reply.

It is not happening all the time.

It seems to be random issue as in a normal condition, it is working fine. When we have very huge network traffic, then only this issue occurred and we are not able to find any specific sequence for it.

Please suggest me someway to track the sequence for it.

I already did code comparison but not able to find any fault code related to menu.

Thanks,

Former Member
0 Kudos

You need to define "unresponsive" with more precision.  What does the menu code do?  If it posts a message to some control (window?), perhaps it is not posting it to the correct object (or to any object).

And what does " another data window on app frame" mean?  Presumably your application uses a MDI interface - so "app frame" refers to the MDI frame?  Is there just one frame?  And "data window" refers to a datawindow control somewhere or to a MDI sheet that contains "data"?  Or maybe an completely independent "main" window?

Former Member
0 Kudos

Hello All,

We are able to find issue and it was Yiled() written in one post function which was causing issue.

I would like to ask another question.

- Is there any possibility that Yield or Yiled written in Post function can cause such issue?

Former Member
0 Kudos

Hi Anal;

  Hopefully, you are using a good SCM where you can trace back the changes that were made recently to your application that has brought you to this condition. FWIW: It sounds like some code in your application that gets into a closed loop. It may not be the menu but the method/event its calling.

  You might also want to trace your application using the PB Debugger and/or the run-time trace "YourApp.exe -pbdebug" and see if that sheds any light into the situation.

Regards ... Chris

Former Member
0 Kudos

I suggest that you check the code from the menu, what message it is sending and ensure that the frame has the appropriate event to handle/capture the message that the menu is sending...

If that was working before and now acting up after you've played around with the application, ensure that there was no extended events that have now been un-extended or vice versa.