Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.UIAction_FindPageByIndex


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
/**
 * Finds the tab page at a particular index in the tab control's Pages array.
 *
 * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved
 */
class UIAction_FindPageByIndex extends UIAction_GetPageReference;

/** the index of the page to find */
var()	int		SearchIndex;

/* == Events == */
/**
 * Called when this event is activated.  Performs the logic for this action.
 */
event Activated()
{
	if ( TabControl != None )
	{
		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_Int',LinkDesc="Search Index",PropertyName="SearchIndex",bWriteable=True,MinVars=1,MaxVars=255)
   ObjName="Find Page By Index"
   Name="Default__UIAction_FindPageByIndex"
   ObjectArchetype=UIAction_GetPageReference'Engine.Default__UIAction_GetPageReference'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: tr 31-1-2018 17:18:32.000 - Creation time: sk 18-3-2018 10:01:16.113 - Created with UnCodeX