Thread: Help with GUI?
View Single Post
  #8  
Old 10-13-2013, 11:38 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
PHP Code:
new GuiContextMenuCtrl("Options_Menu") {
    
profile "Necro_TextEdit";

    
textprofile "Necro_Text";
    
text "Options";
    
width 20;
    
    
clearRows();
    
bringtofront();
    
    
addRow(0"Options"); 
    
addrow(-1"-"); 
    for (
temp.0temp.thiso.options.size(); temp.I++) 
    { 
      
addRow(temp.1thiso.options[temp.I]); 
    } 
     
    
open(mousescreenxmousescreeny); 
  }
}

function 
Options_Menu.onSelect(entryidtext)  {
  
player.chat text;

Above worked just fine for me.
Quote:
Except I can't click any of the options because oddly one of these other GUI's isn't allowing it and won't let the Context GUIctrl grab focus/activity.
If that typo was what you were using that would stop it from doing anything because it wasnt reading the right gui obj name for the selection.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote