1. Information Systems
  2. PowerBuilder
  3. Friday, 12 January 2024 12:56 PM UTC

Hi everyone,

I've come across information in the documentation stating that the deactivate event occurs when a window is closed, as mentioned here: https://docs.appeon.com/pb2022r3/powerscript_reference/deactivate_event.html. However, it appears to work only with a sheet and not with a window opened using the open function, be it of type main! or response!.

I've searched for additional information on this topic but haven't found anything. Does anyone have insights or knowledge about this?

Thanks in advance,

 

IS

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 12 January 2024 15:47 PM UTC
  2. PowerBuilder
  3. # 1

Hi IS;

  My STD framework tracks this activity when the App is in "Debug" mode, as follows ...

Note that "Concrete" (aka Working) level window classes whether they are Main, Child, Pop-up, MDI and/or Sheet windows seem to be getting a Deactivate event OK. However, Ancestor objects of those Concrete level windows (Base / Abstract levels) are not getting a Deactivate - only their working descendants.  HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.