Forums > MaxMSP

How to change the message/comment text color in Max5?


Aug 08 2008 | 3:49 pm

I am not able to change the font color of messages and comment boxes programmatically. There are no attributes in the object reference and the behavior does not correspondend with the "Common Box Attributes" reference.

Am I doing something basically wrong?

— Pasted Max Patch, click to expand. —
Aug 08 2008 | 4:16 pm

Aug 08 2008 | 4:46 pm

On Aug 8, 2008, at 8:49 AM, Peter Ostry wrote:

> I am not able to change the font color of messages and comment boxes
> programmatically.

— Pasted Max Patch, click to expand. —

Chris Muir
cbm@well.com
http://www.xfade.com

Aug 08 2008 | 5:47 pm

Many thanks, I haven’t seen the alpha value mentioned anywhere and did not need it here. Works now of course.

To your question in the patch: I did not know the field-dragging trick. The first try gave me that:
textcolor $1 :-)
(without the smily)
but the second try would at least have told me that Max expects more parameters:
bgcolor $1 $2 $3 $4

Jul 20 2012 | 11:34 am

I’m trying to set the colour of jit.gl.2dtext to load as white from opening the patch, I’ve working to try and find the values to get this but for the life me I can get every other colour… any help? Sorry for such a dull question

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP