Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 |
// ==================================================================== // (C) 2002, Epic Games // ==================================================================== class MyTestPanelB extends TestPanelBase; var Automated moComboBox ComboTest; var Automated GUILabel lbListBoxTest; var Automated GUIListBox ListBoxTest; var Automated GUILabel lbScrollTextBox; var Automated GUIScrollTextBox ScrollTextBoxTest; function InitComponent(GUIController MyController, GUIComponent MyOwner) { local int i,c; local string t; Super.Initcomponent(MyController, MyOwner); c = rand(30)+5; for (i=0;i<c;i++) ComboTest.AddItem("Test "$Rand(100)); c = rand(75)+25; for (i=0;i<c;i++) ListBoxTest.List.Add("Testing "$Rand(100)); ListBoxTest.SetFriendlyLabel(lbListBoxTest); c = rand(75)+25; for (i=0;i<c;i++) { if (t!="") t = T $"|"; t = t$"All Work & No Play Makes Me Sad"; } ScrollTextBoxTest.SetContent(t); ScrollTextBoxTest.SetFriendlyLabel(lbScrollTextBox); } defaultproperties { Begin Object Class=moComboBox Name=caOne ComponentJustification=TXTA_Left Caption="moComboBox Test" OnCreateComponent=caOne.InternalOnCreateComponent Hint="This is a combo box" WinTop=0.079339 WinLeft=0.031250 WinHeight=0.060000 TabOrder=0 End Object ComboTest=moComboBox'GUI2K4.MyTestPanelB.caOne' Begin Object Class=GUILabel Name=laTwo Caption="ListBox Test" WinTop=0.200000 WinLeft=0.031250 WinWidth=0.156250 WinHeight=0.050000 End Object lbListBoxTest=GUILabel'GUI2K4.MyTestPanelB.laTwo' Begin Object Class=GUIListBox Name=caTwo bVisibleWhenEmpty=Wahr OnCreateComponent=caTwo.InternalOnCreateComponent WinTop=0.251653 WinLeft=0.031250 WinWidth=0.445313 WinHeight=0.706250 TabOrder=1 End Object ListBoxTest=GUIListBox'GUI2K4.MyTestPanelB.caTwo' Begin Object Class=GUILabel Name=laThree Caption="Scrolling Text Test" WinTop=0.200000 WinLeft=0.515625 WinWidth=0.257813 WinHeight=0.050000 End Object lbScrollTextBox=GUILabel'GUI2K4.MyTestPanelB.laThree' Begin Object Class=GUIScrollTextBox Name=caThree CharDelay=0.050000 bVisibleWhenEmpty=Wahr OnCreateComponent=caThree.InternalOnCreateComponent WinTop=0.251653 WinLeft=0.515625 WinWidth=0.445313 WinHeight=0.706250 TabOrder=2 End Object ScrollTextBoxTest=GUIScrollTextBox'GUI2K4.MyTestPanelB.caThree' Background=Texture'InterfaceContent.Backgrounds.bg11' WinTop=55.980499 WinHeight=0.807813 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |