"CreateLabel" with colors ?

BlitzPlus Forums/BlitzPlus Programming/"CreateLabel" with colors ?

goux(Posted 2015) [#1]
Hi i ve something like that:

titre1= CreateLabel("Hello",200,20,160,20,win,0)
SetGadgetFont titre1,fntComicSans16BoldItalic

Wich display "Hello" with font "fntComicSans16BoldItalic"
But is it possible to change font color and backgroud color ?

Thanx for help !


videz(Posted 2015) [#2]
I'm not sure you can do this with the vanilla BPlus, but in blitzmax I see some modules that you can change colors.


goux(Posted 2015) [#3]
ok thanks, i try without colors :(


videz(Posted 2015) [#4]
If you have knowledge in MFC, you can do this by modifying the source code and make your color changes.


_PJ_(Posted 2015) [#5]
It seems you can't change the colour of labels, these are possibly forced to windows settings.

A simpler alternative MAY be I think instead of a label you will need a "Locked" TextArea.