On Tue, Oct 9, 2012 at 6:57 AM, Staffan Tylen <staffan.ty...@gmail.com> wrote:
> I'm playing around with a property tab that has the HASHELP option, and I've > connected a method onHelp to the event lime this: > > self~connectHelp(onHelp) This is not the event you want. When a property sheet has the Help button, the Windows property sheet sends a PSN_HELP notification to the property sheet page when the user clicks on the Help button. The connectHelp() method is not for this notification. With property sheet page dialogs, you work with property sheet notifications in a slightly different way. The Rexx dialog class has a default implementation for each of the property sheet notifications. To handle any notification you over-ride the default implementation with your own method. This is explained in section 5.3.1.2 Page Event Handlers. Section 5.3.1.19 help explains the help event handler for property sheet pages. So, you need to remove the connectHelp() invocation and add this method over-ride to your property sheet page dialogs: ::method help unguarded use arg propertySheetDlg -- do something return 0 -- Mark Miesfeld ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users