> On Sun, Feb 17, 2013 at 2:53 PM, Art Heimsoth
> <artst...@artheimsoth.com> wrote:
>
>
> I tried removing the ending parameters after the id on the
> .binarymenubar and then adding the menubar~attachTo(self) but I get
> an error on that statement indicating menubar does not understand
> the message ATTACHTO. I have the dll full name instead of the
> self~dialogName that you showed, but did not think that should
> matter.  Using trace shows that the .BinaryMenuBar~new works okay
> and returns "a BinaryMenuBar" value.  Comments?
>
>
> Art,
>
>
> Doesn't seem right.  Can you show your lines of code and the exact
> message you are getting.  Not the trace output please just the code
> and the syntax error message.
>
 Fescue.menubar = .BinaryMenuBar~new("fescue32.dll",FESCUE_MENU)
 memubar~attachTo(self)
I have also tried it as a plain variable and not part of a stem.
The error message:
D:\Dropbox\RexxFescue>fescue
   287 *-* memubar~attachTo(self)
  8698 *-*   self~initDialog
  7478 *-* if self~startIt(icon, modeless) \= 0
    88 *-*       dlg~Execute("SHOWTOP", IDC_ICON)
Error 97 running D:\Dropbox\RexxFescue\fescue.rex line 287:  Object method not 
found
Error 97.1:  Object "MEMUBAR" does not understand message "ATTACHTO"

I don't know if it makes any difference, but the menu is now defined as:
  FESCUE_MENU  MENUEX
and Fescue_Menu is #defined as 400

I changed from FESCUE_MENU MENU due to needing to define an ID
on the MenuItem Separator statement to allow it to be added/deleted.

> --
> Mark Miesfeld


--
  Art Heimsoth - artst...@artheimsoth.com

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to