dmcnally
22nd January 2007, 17:57
Hello,
I am trying to change the DsNbackground attribute of a Dsctext object to something other than RGB.WHITE without success.
It is in the context of a 3GL script the code is as follows
|******************************************************
function creat.titl.win(long ttlx, long ttly, long ttlw, long ttlh, string ttlt(55),long bgcolor, long fgcolor)
{
|** Title Window
title.text = create.object(DsCtext, current.mwindow(),
DsNbackground, bgcolor,
DsNForeground, fgcolor,
DsNx, ttlx, DsNy, ttly,
DsNwidth,ttlw, DsNheight,ttlh,
DsNstring, ttlt,
DsNcolumns, 40, DsNrows, 1)
}
|*********************************************************
No matter what I set the DsNbackground color to it remains white.
Does anyone know what I might be doing wrong ?
Thanks in advance.
I am trying to change the DsNbackground attribute of a Dsctext object to something other than RGB.WHITE without success.
It is in the context of a 3GL script the code is as follows
|******************************************************
function creat.titl.win(long ttlx, long ttly, long ttlw, long ttlh, string ttlt(55),long bgcolor, long fgcolor)
{
|** Title Window
title.text = create.object(DsCtext, current.mwindow(),
DsNbackground, bgcolor,
DsNForeground, fgcolor,
DsNx, ttlx, DsNy, ttly,
DsNwidth,ttlw, DsNheight,ttlh,
DsNstring, ttlt,
DsNcolumns, 40, DsNrows, 1)
}
|*********************************************************
No matter what I set the DsNbackground color to it remains white.
Does anyone know what I might be doing wrong ?
Thanks in advance.