On Fri, Jul 1, 2011 at 9:42 AM, Mark Miesfeld <miesf...@gmail.com> wrote:
> Oliver, hmm. Can you send me the program so I can take a look. Just
> send the zip file to my gmail account.
Oliver,
>From the program you sent, change the menu bar initialization to this and it
will work:
say "Creating menu bar"
menuBar = .BinaryMenuBar~new(self, 107, , self, .true)
The arguments to new() are:
new(menuSrc, menuID, helpID, attachTo, autoConnect, methName)
menuSrc is the source of the menu template. In this case, since it is a
BinaryMenuBar, if the argument is a Rexx dialog object, that is saying
the menu template is in the resource DLL of the dialog. (Which implies that
the dialog has to be a subclass of the ResDialog class.)
menuID is the resource ID of the menu.
helpID is the help resource ID for the menu.
attachTo is a dialog object to attach the menu to.
autoConnect if true says automatically connect all menu item events.
methName if autoConnect; connect all events to this method name, rather
than a method constructed from the label of the menu item.
If I would work more on finishing the documentation, rather than coding,
things would be easier to use. <grin>
--
Mark Miesfeld
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users