Re: Win32Lib: drawText() in color?
- Posted by "Greg Haberek" <g.haberek at comcast.net> Feb 01, 2004
- 441 views
ok it worked. apparently you have to call setTextColor() prior to every drawText() call. I tried setting it like this: constant Main = create( Window .... ) setTextColor( Main, Blue ) but apparently that didn't work. thanks for the heads up. perhaps this should be pointed out in the docs? ~Greg ----- Original Message ----- From: "Derek Parnell" <ddparnell at bigpond.com> To: <EUforum at topica.com> Sent: Saturday, January 31, 2004 10:30 PM Subject: Re: Win32Lib: drawText() in color? > > > ----- Original Message ----- > From: "Greg Haberek" <g.haberek at comcast.net> > To: <EUforum at topica.com> > Sent: Sunday, February 01, 2004 10:22 AM > Subject: Win32Lib: drawText() in color? > > > > can drawText() draw in color? i tried using setTextColor() and > > setPenColor(). neither of which work. why? > > Don't know. It works just fine for me. As a test, and this ... > > setTextColor(theWin, Red) > > to the demo program 'drawtext.exw', just prior to the drawText() call. > > > -- > Derek > > > > TOPICA - Start your own email discussion group. FREE! > >