Thread: Help with GUI?
View Single Post
  #6  
Old 10-13-2013, 11:19 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
I had to call to destroy() every time before showing/creating the menu ctrl on our old one, maybe that will help as hacky as it is?

Also, unless you have other windows using modal or firstresponder, at least through all my gui stuff I've done, all you should really need is bringtofront() for these types of things (unless some other reason besides just showing up front).

Also, in your posted code, line 198:
PHP Code:
function Options_Menu.onSelect(entryidtext)  {
  
temp.slot this.cell_selected;
 
  if (
temp.slot <= this.items.size()) {
    
play("necro_click2.wav");
    
temp.itemName makevar("clientr.items"thiso.backpack)[slot];
    
temp.itemRealName makevar("clientr.item_"temp.itemName)[1];
    if ( 
temp.itemName == NULL ) {
      if ( 
isObject("ItemOptions_Menu") )
        
ItemOptions_Menu.destroy();
      return;
    }
  } 
Should that be function ItemOptions_Menu?

Hopefully one of those helps.
__________________
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