Error on TBar Float

Error on TBar Float

Postby nageswaragunupudi » Tue Nov 06, 2007 4:13 am

When the user clicks on the buttonbar and selects float we are getting the folloing error:
Code: Select all  Expand view
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
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Tue Nov 06, 2007 9:32 am

NageswaraRao,

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

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests