> Art > I use these for menues ( I always start with ..rc files, when all > is OK I copy to a second source (.rexx )) > > Script: > menubar = .scriptmenubar~new(self~dialogName".rc",IDR_MENU1) > menubar~attachto(self) > > Binary (.dll) > menubar = .binarymenubar~new(self~dialogName".dll",IDR_MENU1) > menubar~attachto(self) > > then it's just to replace scriptmenubar with binarymenubar and .rc > with .dll in new .rexx and then rexxc .rexx to .rex > > /hex
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? > ------------------------- > Ursprungligt Meddelande: > Från: Art Heimsoth <artst...@artheimsoth.com> > Till: Open Object Rexx Users <oorexx-users@lists.sourceforge.net> > Kopia: Datum: söndag, 17 februari 2013 19:51 > Ämne: Re: [Oorexx-users] Changing from RcDialog to ResDialog > >> Maybe a missing assignTo? >> >> Staffan >> > Mark's reply with the change needed to the .BinaryMenuBar is what > was needed. In reading further in 24.2.1 I now see where there are > multiple ways of connecting events to the menu bar, and not all > ways work the same for RcDialog as for ResDialog. I am off again > to find the next difference, as not all of my dialogs are working > correctly yet. Thanks all for your pointers and help. > > -- > 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