Re: wxEuphoria, font color

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

jacques deschĂȘnes wrote:
> 
> hi,
> I began to write a program using wxEuphoria but It seem that the font color
> for a control can'y be selected.  I use wxStaticText and want to specified a
> font and font color for each one of them independandly. How do I set the
> colour
> property of a font.
> In dialog_demo.exw when a different color is chosen the text is always
> displayed
> in black.

It's not wrapped, but you need to use wxWindow::SetForegroundColour.  In
windows, it's wxWindowBase_SetForegroundColour.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu