Thread: Controls
View Single Post
  #1  
Old 08-04-2007, 10:35 PM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Controls

PHP Code:
temp.ainfo System.serverFunction(this.name"getAbilities"player.account);
      
temp.1;
      
with (Mal_Main) {
        new 
GuiScrollCtrl(Mal_Ability_Scroll) {
          
position = {3244};
          
extent = {143225};
          
image null;
          
//red = green = blue = alpha = 0;
          
hScrollBar vScrollBar "alwaysOff";
          new 
GuiTextListCtrl(Mal_Abilities_Scroll) {
            
0;
            
width 200;
            
fitparentwidth true;

            
clearrows();
            for (
temp.ainfo) {
              echo(
a);
              
addrow(temp.ia[0]);
              
temp.i++;
            }
            
setSelectedRow(1);
          }
        }
      } 
This is pretty weird. So far, when I have two problems. When I put the text list ctrl inside the scroll control, the text lister isn't shown. But when I put it outside of the scroll ctrl and take away the scroll altogether I can't make make the text list as long as I need to.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote