setTextColor problems

new topic     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

--Boundary_(ID_isJ2wcMs4zAC4Ly9FObwqQ)

Hi,
 
I've been using Euphoria for less than a week, so bear with me.

I'm having trouble setting a static label's colour with Win32Lib...

e.g.    setTextColor (Window , color)

I've used Judith's **fine** IDE to flesh out a basic form.
I've placed an LText label on the form, went to the font property box
and brought up the **Font Dialog Box**... and selected my font color, etc. and
the IDE didn't respond.

No problem, I thought, I'll just edit the source code that Judith's IDE
produced.

this is the snippet....
--------------------------
global constant LText4 = create( LText, "Blueberry Pies", Window1, 168, 12, 364,
80, 0 )
setWindowBackColor( LText4,16771818)
setFont( LText4,"Arial", 26, Bold)
setTextColor( LText4, Blue )
--------------------------

I can set the above settings, **except** the colour.
I've tried various sample programs to see if I could get some response, but
nothing.

Is setTextColor broken in Win32Lib? or is it something else?

Windows Me, P-III 800, 576megs ram.

Regards,
--Bob
blueb at shaw.ca  

--Boundary_(ID_isJ2wcMs4zAC4Ly9FObwqQ)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4616.200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,<BR>&nbsp;<BR>I've been using Euphoria for less 
than a week, so bear with me.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm having trouble setting a static label's colour 
with Win32Lib...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>e.g.&nbsp;&nbsp;&nbsp; setTextColor (Window , 
color)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've used Judith's **fine** IDE to flesh out a 
basic form.<BR>I've placed an LText label on the form, went to the font property
box<BR>and brought up the **Font Dialog Box**... and selected my font color, 
etc. and<BR>the IDE didn't respond.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>No problem, I thought, I'll just edit the source 
code that Judith's IDE produced.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>this is the 
snippet....<BR>--------------------------<BR>global constant LText4 = create( 
LText, "Blueberry Pies", Window1, 168, 12, 364, 80, 0 )<BR>setWindowBackColor( 
LText4,16771818)<BR>setFont( LText4,"Arial", 26, Bold)<BR>setTextColor( LText4, 
Blue )<BR>--------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I can set the above settings, **except** the 
colour.<BR>I've tried various sample programs to see if I could get some 
response, but nothing. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is setTextColor broken in Win32Lib? or is it 
something else?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Windows Me, P-III 800, 576megs ram.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,<BR>--Bob<BR><A 

--Boundary_(ID_isJ2wcMs4zAC4Ly9FObwqQ)--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu