1. John Fauss
  2. PowerBuilder
  3. Friday, 16 November 2018 16:52 PM UTC

PB 2017 Rel 3 and onward: Is there any documentation on each one of the unmapped pbm_xxxxx event IDs (listed in the Event ID drop-down list in the Event Script Painter) and their argument values?

For example, event ID pbm_dwclosedropdown. From its name, I would assume this event can be used as a notification that a drop-down DataWindow or drop-down list in a DataWindow control has been closed...but experimentation shows that is not the case. So what can it be used for?

Wouldn't it be more productive if we could just look in the PB Help and/or PB Manuals to determine what these events can be used for???

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 16 November 2018 18:57 PM UTC
  2. PowerBuilder
  3. # 1

Hi John;

  Roland is correct ... a PBM_xxxx event normally maps 100% to a WM_xxxxx event in MS-Windows. So check out the documentation on MSDN.

   For the DW Control, the DataWindow specific events are not well documented. That would be an excellent documentation enhancement though IMHO. Feel free to open a Support Ticket for this.

  In the meantime, all the DW events are pretty much mapped, used and documented in the STD Integrated Framework. Some as well in the PFC framework. Feel free to peek into these to get more insight into these DW Control events in the short term.

  Another source of great DW event source is the SPY++ utility that comes with VS (or can be downloaded separately). The utility monitors any control and shows you the Windows events that are firing for each interaction. Also, the OTHER event is great place to expose DW event behaviour. However, you'll need to write that information to the MS-Windows "Debug" log otherwise your App can easily crash - even using the PB IDE's "Debugger".

HTH

Regards ... Chris

  

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 16 November 2018 18:22 PM UTC
  2. PowerBuilder
  3. # 2

 A large portion of them correspond to Windows events. if you replace pbm with wm, you get the Windows event message name.

You are right, it would be nice to have documentation of the DataWindow events that aren't mapped by default.

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.