View Single Post
  #5  
Old 05-07-2008, 07:34 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Yes, and also set the GuiMLTextCtrl's active variable to false if you want it to not be selectable (like normal TextCtrls).

Example:
PHP Code:
//#CLIENTSIDE
function onActionLeftMouse() {
  new 
GuiWindowCtrl("MyGUI_Window1") {
    
resize(285, 241, 320, 240);
    
profile = GuiBlueWindowProfile;
    
clientrelative = true;
    
canresize = canminimize = canmaximize = false;
    
canclose = destroyonhide = true;
    
text = "message";
    new 
GuiMLTextCtrl("MyGUI_Text") {
      
resize(50, 50, 228, 0);
      
profile = GuiBlueTextProfile;
      
text = "Uhhhhhhh.The earth is tearing apart with\nwith the reactors there are making the\nplanet die you must stop them please.";
    }
  }
} 
Basically, look at the text = line. See the \n's? Those will change to line breaks.

Good luck!

Also, if you want to use an image instead of a gui window or so, just use GuiBitmapCtrl rather then GuiWindowCtrl and set bitmap = "yourimagehere.png".
__________________
Do it with a DON!
Reply With Quote