When building a binary menu for a UserDialog (ooDialog version 4.2.3.9393 on
a Win7 box), I get the following console message:
 
    Check to connect item isMenuBar=0 !byPosition = 1
 
When I run the same code on an earler ooDialog version (4.2.2.9341 but on a
WinXP box), I do NOT get the message.
 
I've searched through the ooDialog source code, but cannot find this message
on a "say" or "printf".
 
Help!
 
 
My test program is:
 
-----------------------------------------------------------
/*Check out spurious error message in UserDialog menu */
 
dlg = .TestBinMenu~new
if dlg~initCode = 0 then do
  dlg~createCenter(225, 273, "Test Menu Dlg")
  dlg~execute("SHOWTOP")
end
 
::REQUIRES ooDialog.cls
 
::CLASS TestBinMenu SUBCLASS UserDialog
 
  ::METHOD initDialog
    menu = .BinaryMenuBar~new(.nil, 901, , self)
    subMenu = .PopupMenu~new(902)
    subMenu~insertItem(903, 903, "New Customer")
    menu~insertPopup(902, 902, subMenu, "Actions")
-----------------------------------------------------------
 
Btw, if I add another submenu, I get the same message again. 
 
--
Oliver Sims 
  
 

 

 
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to