Hi Antonio.
Thank you.
With afterwords the error is born together.
Me from the (DEFINE DIALOG) it wents using with the DESIGN.
- Code: Select all Expand view RUN
//--------------------------------
FUNC main()
DEFINE WINDOW oWnd_Main FROM 0, 0 TO 0, 0 COLOR CLR_BLACK, CLR_WHITE STYLE nOr( WS_POPUP, WS_VISIBLE ) TITLE "test"
ACTIVATE WINDOW oWnd_Main MAXIMIZED ON INIT ( dlg() )
RETU NIL
//--------------------------------
FUNC dlg()
DEFINE DIALOG oWndC OF oWnd_Main PIXEL FROM 90, 1 TO 980, 1100 STYLE nOr(WS_CHILD) COLOR CLR_BLACK, CLR_WHITE
@ 10,10 BUTTONBMP oBut PROMPT "test" OF oWndC SIZE 52, 30 PIXEL FONT oFont1 DESIGN
ACTIVATE DIALOG oWndC
RETU NIL
====> Error Message
Called from: .\source\classes\WINDOW.PRG => WNDCREATEERROR(0)
Called from: => TWINDOW:CREATE(0)
Called from: => TWINDOW:NEW(0)
Called from: => TBUTTONBMP:CHECKDOTS(0)
Called from: => TBUTTON:NEW(0)
Called from: => TBUTTONBMP:NEW(0)
Called from: main.prg => TEST_SETTING(228)
Called from: main.prg => (b)MAIN(119)
Called from: => TBTNBMP:CLICK(0)
Called from: => TBTNBMP:LBUTTONUP(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TBTNBMP:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: => TWINDOW:ACTIVATE(0)
Called from: main.prg => MAIN(129)
- Code: Select all Expand view RUN
@ 10,10 BUTTON oBut PROMPT "test" OF oWndC SIZE 52, 30 PIXEL FONT oFont1 DESIGN
====> Error Message
Called from: .\source\classes\WINDOW.PRG => WNDCREATEERROR(0)
Called from: => TWINDOW:CREATE(0)
Called from: => TWINDOW:NEW(0)
Called from: => TBUTTON:CHECKDOTS(0)
Called from: => TBUTTON:NEW(0)
Called from: main.prg => TEST_SETTING(228)
Called from: main.prg => (b)MAIN(119)
Called from: => TBTNBMP:CLICK(0)
Called from: => TBTNBMP:LBUTTONUP(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TBTNBMP:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: => TWINDOW:ACTIVATE(0)
Called from: main.prg => MAIN(129)