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 |
/** * Finds the tab page whose button has the specified caption or data store binding value. * * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved */ class UIAction_FindPageByCaption extends UIAction_GetPageReference; /** the button caption to search for */ var() string SearchCaption; /** indicates that the search caption is actually a markup string */ var() bool bMarkupString; /* == Events == */ /** * Called when this event is activated. Performs the logic for this action. */ event Activated() { local int SearchIndex; if ( TabControl != None ) { SearchIndex = TabControl.FindPageIndexByCaption(SearchCaption, bMarkupString); PageReference = TabControl.GetPageAtIndex(SearchIndex); } // call Super.Activated after setting the PageReference, as the parent version sets the PageIndex value if we have // a valid PageReference Super.Activated(); } defaultproperties { VariableLinks(5)=(ExpectedType=Class'Engine.SeqVar_String',LinkDesc="Page Caption",PropertyName="SearchCaption",MinVars=1,MaxVars=255) ObjName="Find Page By Caption" Name="Default__UIAction_FindPageByCaption" ObjectArchetype=UIAction_GetPageReference'Engine.Default__UIAction_GetPageReference' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |