Foxhound is the better* Database Monitor for SQL Anywhere.
*better: More thorough, more relevant, more effective.
...more Alerts, more All Clears, more details, more control in your hands.

Breck Carter
Last modified: August 13, 1996
mail to:

User Defined Event Arguments

How do I declare arguments for user events in PowerBuilder 5? Whenever I press the "Args..." button all I see are the predefined arguments wparam and lparam, and they are greyed out.

In PowerBuilder 5 you no longer have to specify an "Event ID" like pbm_custom01 when you use Define - User Event. In fact, you must leave the Event ID field empty if you want to press the Args button and define your own arguments. If you fill that field in then all you'll see are the arguments already defined for pbm_custom01 and you won't be able to change them.

There's another reason to leave the Event ID empty: It's easier to create and maintain ancestor and descendant objects if you don't have to worry about pbm_customxx conflicts.

And if you get the Event Name wrong you can now change it without deleting and recreating the user event.

Breck Carter can be reached by phone at (416) 763-5200 or via email at