Hua,
This fix is required in FiveWin.ch, as it seems as a preprocessor issue based on the order of the xcommand:
Code: Select all
#xcommand DEFINE <msg: MESSAGE BAR, MESSAGE, MSGBAR> [<oMsg>] ; <<< Here !!!
[ OF <oWnd> ] ;
[ <prm: PROMPT, TITLE> <cMsg> ] ;
[ <center: CENTER, CENTERED> ] ;
[ <clock: CLOCK, TIME> ] ;
[ <date: DATE> ] ;
[ <kbd: KEYBOARD> ] ;
[ FONT <oFont> ] ;
[ <color: COLOR, COLORS> <nClrFore> [,<nClrBack> ] ] ;
[ <inset: NO INSET, NOINSET> ] ;
[ <l2007: 2007, _2007> ] ;
[ <l2010: 2010, _2010> ] ;
=> ;
[<oMsg> := ] TMsgBar():New( <oWnd>, <cMsg>, <.center.>,; <<< Here !!!
<.clock.>, <.date.>, <.kbd.>,;
<nClrFore>, <nClrBack>, <oFont>,;
[!<.inset.>], <.l2007.>, if( <.l2007.>, .F., <.l2010.> ) )
Also this change in Class TMsgBar:
Code: Select all
METHOD New( oWnd, cPrompt, lCentered, lClock, lDate, lKbd,;
nClrFore, nClrBack, oFont, lInset, l2007, l2010 ) CLASS TMsgBar
...
::oWnd = oWnd
::oWnd:oMsgBar = Self <<< Here !!!
::cMsg = ::cMsgDef := cPrompt
...