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 |
/** * Enables or disables a tab button and tab page in a tab control. * * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved */ class UIAction_EnablePage extends UIAction_TabControl; /** Reference to the page that should be activated */ var UITabPage PageToEnable; /** TRUE to enable the specified page; FALSE to disable it */ var() bool bEnable; /* == Events == */ /** * Called when this event is activated. Performs the logic for this action. */ event Activated() { Super.Activated(); if ( TabControl != None && PageToEnable != None ) { if ( TabControl.EnableTabPage(PageToEnable, PlayerIndex, bEnable) ) { if ( !OutputLinks[0].bDisabled ) { OutputLinks[0].bHasImpulse = true; } } else { if ( !OutputLinks[1].bDisabled ) { OutputLinks[1].bHasImpulse = true; } } } } defaultproperties { bEnable=True VariableLinks(3)=(ExpectedType=Class'Engine.SeqVar_Bool',LinkDesc="Enable?",PropertyName="bEnable",bHidden=True,MinVars=1,MaxVars=255) VariableLinks(4)=(ExpectedType=Class'Engine.SeqVar_Object',LinkDesc="Tab Page",PropertyName="PageToEnable",MinVars=1,MaxVars=255) ObjName="Enable/Disable Page" Name="Default__UIAction_EnablePage" ObjectArchetype=UIAction_TabControl'Engine.Default__UIAction_TabControl' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |