FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour WINDOW with Brush and SAY
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
WINDOW with Brush and SAY
Posted: Fri Aug 22, 2008 03:32 PM

Hello Antonio,

I tried to insert a say control into the
Testgrad.prg from the samples but I get an error.
Regards,
Otto

@ 111,20 say oSay PROMPT "Datensicherung - Datenvereichnis: "

Error description: Error BASE/1070 Argument error: ==
Args:
[ 1] = N 15790320
[ 2] = C N/W

Stack Calls

Called from: .\source\classes\BRUSH.PRG => (b)TBRUSH:NEW(0)
Called from: => ASCAN(0)
Called from: .\source\classes\BRUSH.PRG => TBRUSH:NEW(0)
Called from: .\source\classes\WINDOW.PRG => TSAY:SETCOLOR(0)
Called from: .\source\classes\SAY.PRG => TSAY:NEW(0)
Called from: c:\fwhtests\200807\testgrad.prg => MAIN(85)

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Gradient
Posted: Fri Aug 22, 2008 03:39 PM

Hello Otto,

It seems, you mixed the Color-values

[ 1] = N 15790320
[ 2] = C N/W

the first color is ok
the second color has to be numeric as well.

Color White => 16777215

Regards
Uwe :lol:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
WINDOW with Brush and SAY
Posted: Fri Aug 22, 2008 04:37 PM
Thank you, UWE. You are right.
The window is defined like that:

DEFINE WINDOW oWnd TITLE "FWH - Office 2007 look in your ButtonBars, MsgBar and Menus" ;
   	 FROM 0,0 TO 800,1024 PIXEL;
     MENU BuildMenu();
     COLOR 0, "N/W" BRUSH oBrush


Changing "N/W" to a value resolved the problem.
Regards,
Otto

Continue the discussion