FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error on TBar Float
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Error on TBar Float
Posted: Tue Nov 06, 2007 04:13 AM
When the user clicks on the buttonbar and selects float we are getting the folloing error:
Stack Calls
===========
   Called from: MENU.PRG => TMENU:ADD(0)
   Called from: PDMENU.PRG => (b)MENUEND(0)
   Called from:  => AEVAL(0)
   Called from: PDMENU.PRG => MENUEND(0)
   Called from: BAR.PRG => TBAR:FLOAT(0)
   Called from: BAR.PRG => (b)TBAR:RBUTTONDOWN(0)
   Called from: MENU.PRG => TMENU:ACTIVATE(0)
   Called from: BAR.PRG => TBAR:RBUTTONDOWN(0)
   Called from:  => TWINDOW:HANDLEEVENT(0)
   Called from: CONTROL.PRG => TBAR:HANDLEEVENT(0)
   Called from: window.prg => _FWH(3221)
   Called from:  => WINRUN(0)
   Called from: window.prg => TMDIFRAME:ACTIVATE(895)

I have tested this with 2007 style bar only.
Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Error on TBar Float
Posted: Tue Nov 06, 2007 09:32 AM
NageswaraRao,

Please add this code to source\classes\menu.prg:
METHOD Add( oMenuItem, lRoot ) CLASS TMenu

   DEFAULT lRoot := .F., ::l2007 := .F.  // here!
   ...
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion