Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg
@ 1, 1 BTNBMP OF oDlg
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
The problem seems to be missing DATA bClrGrad in TWindow.Error description: Error BASE/1004 Message not found: TDIALOG:BCLRGRAD
Stack Calls
===========
Called from: source\rtl\tobject.prg => TDIALOG:ERROR(0)
Called from: source\rtl\tobject.prg => TDIALOG:MSGNOTFOUND(0)
Called from: source\rtl\tobject.prg => TDIALOG:BCLRGRAD(0)
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:NEW(0)
Called from: BUG6.prg => MAIN(10)
EMG