Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.