I'm a doctor, not a mechanic

UE2:MoButton (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIMenuOption >> MoButton
Package: 
XInterface

Combined component containing a button and a label. If MenuClass is assigned, the OnClick delegate will be called when the button is clicked and OnChange will be called once the page is closed

If MenuClass does not have a value, OnChange will be called when the button is clicked

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'Option'[edit]

ButtonCaption[edit]

Type: string

Modifiers: localized


Default value: "Edit"

ButtonStyleName[edit]

Type: string


Default value: "SquareButton"

MenuClass[edit]

Type: string

Class for the menu to open when user clicks the button

MenuTitle[edit]

Type: string

Modifiers: localized


MyButton[edit]

Type: GUIButton

Modifiers: noexport, editconst


Value[edit]

Type: string


Default values[edit]

Property Value
CaptionWidth 0.8
ComponentClassName "XInterface.GUIButton"
StandardHeight 0.04

Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMenuOption.InitComponent


Other instance functions[edit]

GetComponentValue[edit]

function string GetComponentValue ()

Overrides: GUIMenuOption.GetComponentValue


InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)


InternalOnCreateComponent[edit]

function InternalOnCreateComponent (GUIComponent NewComp, GUIComponent Sender)

Overrides: GUIMenuOption.InternalOnCreateComponent


PageClosed[edit]

function PageClosed (optional bool bCancelled)


ResetComponent[edit]

function ResetComponent ()

Overrides: GUIMenuOption.ResetComponent


SetComponentValue[edit]

function SetComponentValue (coerce string NewValue, optional bool bNoChange)

Overrides: GUIMenuOption.SetComponentValue


SetValue[edit]

function SetValue (string NewValue)