border around the panel

Apr 8, 2009 at 1:48am

border around the panel

Hi,

I would like to make a interface where word get a border around when there are activate…

But the “frgb” option can’t be seen when I put a background color for the main window.

here a exemple patch… enjoy the puzzle!

max v2;
#N vpatcher 159 214 759 614;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#N thispatcher;
#Q end;
#P newobj 370 186 61 196617 thispatcher;
#P message 499 82 57 196617 brgb 0 0 0;
#P newex 468 118 101 196617 loadmess brgb 0 0 0;
#P number 370 99 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 370 75 40 196617 key;
#P newex 370 118 58 196617 select 102;
#P toggle 370 139 15 0;
#P message 370 157 70 196617 fullscreen $1;
#P window linecount 3;
#P message 177 148 88 196617 ; p1 brgb 0 0 0 ; p1 frgb 56 8 255;
#P window linecount 4;
#P message 90 148 75 196617 ; p1 border 5 ; p1 brgb 0 0 0 ; p1 frgb 0 0 0;
#P window setfont Georgia 18.;
#P window linecount 1;
#P user com 123 286 95 797638674 5;
#K set 0 29797 30836 8296 25970 25889;
#K end;
#B frgb 56 8 255;
#P hidden user panel 112 277 118 43;
#X brgb 0 0 0;
#X frgb 0 0 0;
#X border 5;
#X rounded 0;
#X shadow 0;
#X done;
#P window setfont “Sans Serif” 9.;
#P hidden newex 112 246 29 196617 r p1;
#P window linecount 3;
#P comment 39 57 100 196617 I want to see the blue border around the text;
#P hidden connect 1 0 2 0;
#P connect 9 0 10 0;
#P connect 10 0 8 0;
#P connect 8 0 7 0;
#P connect 7 0 6 0;
#P connect 12 0 13 0;
#P connect 11 0 13 0;
#P connect 6 0 13 0;
#P pop;

#43257
Apr 8, 2009 at 1:57am

In Max5, you can give any color, including alpha channel for transparency, to the background and border.
In Max 4, you could make the pannel visible, and set the interior color to the same as your chosen background.
J-F.

#155143
Apr 8, 2009 at 2:11am

HU! It was at “hide on lock”. Sorry for my dummie question. And thanks for your answer.

Mathieu

#155144

You must be logged in to reply to this topic.