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

Peter Ostry's icon

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?

Max Patch
Copy patch and select New From Clipboard in Max.

Emmanuel Jourdan's icon
Chris Muir's icon

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.

Max Patch
Copy patch and select New From Clipboard in Max.

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

Peter Ostry's icon

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

Jason Orri's icon

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