home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / GUI / Classes / MySubTestPanelB.uc < prev    next >
Text File  |  2003-06-30  |  828b  |  38 lines

  1. // ====================================================================
  2. // (C) 2002, Epic Games
  3. // ====================================================================
  4.  
  5. class MySubTestPanelB extends GUITabPanel;
  6.  
  7. var Automated GUIListBox ListBoxTest;
  8.  
  9. function InitComponent(GUIController MyController, GUIComponent MyOwner)
  10. {
  11.     local int i,c;
  12.  
  13.     Super.Initcomponent(MyController, MyOwner);
  14.  
  15.     c = rand(75)+25;
  16.     for (i=0;i<c;i++)
  17.         ListBoxTest.List.Add("All Work & No Play Makes Me Sad");
  18.  
  19. }
  20. defaultproperties
  21. {
  22.     Begin Object class=GUIListBox Name=cOne
  23.         WinWidth=1
  24.         WinHeight=1
  25.         WinLeft=0
  26.         WinTop=0
  27.         bVisibleWhenEmpty=true
  28.     End Object
  29.  
  30.     ListBoxTest=cOne
  31.  
  32.     Background=Material'GUIContent.EpicLogo'
  33.  
  34.     WinWidth=1.000000
  35.     WinHeight=0.807813
  36.     WinLeft=0.000000
  37.     WinTop=55.980499
  38. }