This sounds strange, but is it possible to have a message box where the colour of the text and background can be altered? There aren’t any controls for it when you right click them. The text it receives is coming from a prepend_set object if that helps.
Any ideas please?
You can do it in limited fashion with the "color" message, but you can
only control the color of the background. (the text changes dependent
on the background)
Thanks for the info. Forgot to mention that I had tried that. Is there any other way?
I do variable-colour messages boxes with a hack: I create a ubumenu
with a single item, and disable it for mouse clicks. You can then set
RGB colours for all sorts of things…
nick rothwell — composition, systems, performance — http://
Right-o, or there’s also the umenu label mode. It would be nice,
however, if all the graphical objects were in RGB-land.
Thanks folks. I am still having toruble though. Have tried using both and can’t get it to work for my purposes. I need to take the contents of a message box and input it into the umenu, so that it is the only item in the umenu, but umenu won’t now what it is until I open the file. The patch below shows what I’m uisng so far to try this, I have taken away the gumph coz it doesn’t work. Any help please?
#N vpatcher 25 70 782 628;
#P window setfont "Sans Serif" 9.;
#P user ubumenu 289 306 100 9109513 0 0 1 0;
#X prefix_set 0 0
#P user umenu 179 306 100 9109543 3 64 322 0;
#P message 156 214 50 9109513;
#P window linecount 1;
#P newex 156 180 57 9109513 prepend set;
#P message 91 96 28 9109513 open;
#P newex 91 137 79 9109513 sfinfo~;
#P connect 1 0 0 0;
#P connect 0 5 2 0;
#P connect 2 0 3 0;