Thread: GUI TextLists?
View Single Post
  #1  
Old 05-23-2009, 02:44 AM
Struggler Struggler is offline
Zone Repulser =D
Struggler's Avatar
Join Date: May 2006
Posts: 54
Struggler is an unknown quantity at this point
GUI TextLists?

How do I perform an action once one of the rows is selected? I know it has something to do with onSelect(), but dont know exactly what! Heres an example, say I had this:
PHP Code:
      new GuiTextListCtrl("MyGUI_TextList1") {
        
profile GuiBlueTextListProfile;
        
height 32;
        
horizsizing "width";
        
addrow(0,"Developement");
        
addrow(1,"Creators");
        
addrow(2,"Members");
        
addrow(3,"Schedule");
        
addrow(4,"Credits");
        
addrow(5,"Acknoledgements");
        
addrow(6,"Rights");
        
setselectedrow(0);
        
width 95;
      } 
What would the function be to perform an action for the "Development" tab being selected?
Reply With Quote