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

XInterface.GUIComboBox

Extends
GUIMultiComponent
Modifiers
Native

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIComboBox

Variables Summary
GUIEditBoxEdit
GUIListBoxMyListBox
GUIScrollButtonBaseMyShowListBtn
GUIComboBox
boolbIgnoreChangeWhenTyping
boolbReadOnly
boolbShowListOnFocus
boolbValueReadOnly
intIndex
GUIListList
intMaxVisibleItems
stringTextStr
Inherited Variables from XInterface.GUIMultiComponent
AnimationCount, bAlwaysAutomate, bDrawFocusedLast, bOldStyleMenus, Components, Controls, FocusedControl, PropagateVisibility
Inherited Variables from XInterface.GUIComponent
bAcceptsInput, bAnimating, bBoundToParent, bCaptureMouse, bCaptureTabs, bDebugging, bDropSource, bDropTarget, bFocusOnWatch, bHasFocus, bInit, bMouseOverSound, bNeverFocus, bNeverScale, BoundingType, Bounds[4], bPendingFocus, bPositioned, bRepeatClick, bRequireReleaseClick, bRequiresStyle, bScaleToParent, bSizing, bStandardized, bTabStop, bTimerRepeat, bTravelling, bVisible, ClientBounds[4], ContextMenu, DrawCount, DropState, FocusInstead, FontScale, FriendlyLabel, Hint, IniDefault, IniOption, LastMenuState, MenuOwner, MenuState, MotionFrame, MouseCursorIndex, MouseOffset[4], OnClickSound, OnDrawCount, OnPreDrawCount, OnRenderCount, OnRenderedCount, PageOwner, PreDrawCount, RenderWeight, ScalingType, SizeFrame, StandardHeight, Style, StyleName, TabOrder, Tag, TimerCountdown, TimerIndex, TimerInterval, ToolTip, WhiteColor, WinHeight, WinLeft, WinTop, WinWidth

Enumerations Summary
Inherited Enumerations from XInterface.GUIComponent
EClickSound, EParentScaleType

Delegates Summary
delegate OnHideList ()
delegate OnShowList ()
Inherited Delegates from XInterface.GUIMultiComponent
HandleContextMenuClose, HandleContextMenuOpen, NotifyContextSelect, OnCreateComponent
Inherited Delegates from XInterface.GUIComponent
OnActivate, OnArrival, OnBeginDrag, OnBeginTooltip, OnCapturedMouseMove, OnChange, OnClick, OnDblClick, OnDeActivate, OnDesignModeKeyEvent, OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, OnDraw, OnEndAnimation, OnEndDrag, OnEndTooltip, OnHide, OnHitTest, OnHover, OnInvalidate, OnKeyEvent, OnKeyType, OnLoadINI, OnMessage, OnMousePressed, OnMouseRelease, OnMultiSelect, OnPreDraw, OnRender, OnRendered, OnRightClick, OnSaveINI, OnShow, OnTimer, OnWatch

Functions Summary
function AddItem (string Item, Optional object Extra, Optional string Str))
function CenterMouse ()))
function Clear ()))
functionstring find (string Text, optional bool bExact, optional bool bExtra))
functionint FindExtra (string Text, optional bool bExact))
functionint FindIndex (string Test, optional bool bExact, optional bool bExtra, optional Object Obj))
functionbool FocusFirst (GUIComponent Sender ))
functionbool FocusLast (GUIComponent Sender ))
functionstring Get ()))
functionstring GetExtra ()))
functionint GetIndex ()))
functionstring GetItem (int index))
functionobject GetItemObject (int index))
functionobject GetObject ()))
functionstring GetText ()))
function HideListBox ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InternalEditPressed (GUIComponent Sender, bool bRepeat))
functionbool InternalListClick (GUIComponent Sender))
function InternalListDeActivate ()))
function InternalOnInvalidate (GUIComponent Who))
functionbool InternalOnKeyEvent (out byte Key, out byte State, float Delta))
function InternalOnLoadIni (GUIComponent Sender, string S))
function InternalOnMousePressed (GUIComponent Sender, bool bRepeat))
functionstring InternalOnSaveIni (GUIComponent Sender))
function ItemChanged (GUIComponent Sender))
functionint ItemCount ()))
function LoseFocus (GUIComponent Sender))
function ReadOnly (bool b))
function RemoveItem (int Item, optional int Count))
function SetExtra (string NewExtra, optional bool bListItemsOnly))
function SetFriendlyLabel (GUILabel NewLabel ))
function SetHint (string NewHint))
function SetIndex (int I))
function SetText (string NewText, optional bool bListItemsOnly))
event SetVisibility (bool bIsVisible))
functionbool ShowListBox (GUIComponent Sender))
function TextChanged (GUIComponent Sender))
Inherited Functions from XInterface.GUIMultiComponent
AddComponent, AppendComponent, BeginAnimation, CanAcceptFocus, CenterMouse, CheckDuplicateTabOrder, CheckInvalidTabOrder, Closed, DebugTabOrder, DisableMe, EnableMe, EndAnimation, FindComponentIndex, FocusFirst, FocusLast, Free, InitComponent, InitializeControls, InsertComponent, InternalOnShow, LevelChanged, LoseFocus, NextControl, Opened, PrevControl, RemapComponents, RemoveComponent, SetFocus, SetFocusInstead, SetVisibility
Inherited Functions from XInterface.GUIComponent
ActualHeight, ActualLeft, ActualTop, ActualWidth, AdditionalDebugString, Animate, AutoPosition, AutoPositionOn, BeginAnimation, CanAcceptFocus, CenterMouse, Closed, DAnimate, DebugFocus, DebugFocusPosition, DebugTabOrder, DisableComponent, DisableMe, DropStateChange, EnableComponent, EnableMe, EndAnimation, FillOwner, FocusFirst, FocusLast, Free, GetMenuPath, Hide, InitComponent, IsInBounds, IsInClientBounds, IsMultiSelect, KillAnimation, KillTimer, LevelChanged, LoadINI, LoseFocus, MakeColorCode, MenuStateChange, NextControl, NextPage, Opened, OwnerPage, PadLeft, PadRight, PlayerOwner, PrevControl, PrevPage, RelativeHeight, RelativeLeft, RelativeTop, RelativeWidth, Resize, ResolutionChanged, SaveINI, SetFocus, SetFocusInstead, SetFriendlyLabel, SetHint, SetPosition, SetTimer, SetTooltip, SetToolTipText, SetVisibility, Show, SpecialHit, StripColorCodes, Timer, UpdateOffset


Variables Detail

Edit Source code

var Automated GUIEditBox Edit;

MyListBox Source code

var Automated GUIListBox MyListBox;

MyShowListBtn Source code

var Automated GUIScrollButtonBase MyShowListBtn;

GUIComboBox

bIgnoreChangeWhenTyping Source code

var(GUIComboBox) bool bIgnoreChangeWhenTyping;

bReadOnly Source code

var(GUIComboBox) bool bReadOnly;

bShowListOnFocus Source code

var(GUIComboBox) bool bShowListOnFocus;

bValueReadOnly Source code

var(GUIComboBox) bool bValueReadOnly;

Index Source code

var(GUIComboBox) editconst int Index;

List Source code

var(GUIComboBox) editconst GUIList List;

MaxVisibleItems Source code

var(GUIComboBox) int MaxVisibleItems;

TextStr Source code

var(GUIComboBox) editconst string TextStr;


Delegates Detail

OnHideList Source code

delegate OnHideList ( )

OnShowList Source code

delegate OnShowList ( )


Functions Detail

AddItem Source code

function AddItem ( string Item, Optional object Extra, Optional string Str) )

CenterMouse Source code

function CenterMouse ( ) )

Clear Source code

function Clear ( ) )

find Source code

function string find ( string Text, optional bool bExact, optional bool bExtra) )

FindExtra Source code

function int FindExtra ( string Text, optional bool bExact) )

FindIndex Source code

function int FindIndex ( string Test, optional bool bExact, optional bool bExtra, optional Object Obj) )

FocusFirst Source code

function bool FocusFirst ( GUIComponent Sender ) )

FocusLast Source code

function bool FocusLast ( GUIComponent Sender ) )

Get Source code

function string Get ( ) )

GetExtra Source code

function string GetExtra ( ) )

GetIndex Source code

function int GetIndex ( ) )

GetItem Source code

function string GetItem ( int index) )

GetItemObject Source code

function object GetItemObject ( int index) )

GetObject Source code

function object GetObject ( ) )

GetText Source code

function string GetText ( ) )

HideListBox Source code

function HideListBox ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalEditPressed Source code

function InternalEditPressed ( GUIComponent Sender, bool bRepeat) )

InternalListClick Source code

function bool InternalListClick ( GUIComponent Sender) )

InternalListDeActivate Source code

function InternalListDeActivate ( ) )

InternalOnInvalidate Source code

function InternalOnInvalidate ( GUIComponent Who) )

InternalOnKeyEvent Source code

function bool InternalOnKeyEvent ( out byte Key, out byte State, float Delta) )

InternalOnLoadIni Source code

function InternalOnLoadIni ( GUIComponent Sender, string S) )

InternalOnMousePressed Source code

function InternalOnMousePressed ( GUIComponent Sender, bool bRepeat) )

InternalOnSaveIni Source code

function string InternalOnSaveIni ( GUIComponent Sender) )

ItemChanged Source code

function ItemChanged ( GUIComponent Sender) )

ItemCount Source code

function int ItemCount ( ) )

LoseFocus Source code

function LoseFocus ( GUIComponent Sender) )

ReadOnly Source code

function ReadOnly ( bool b) )

RemoveItem Source code

function RemoveItem ( int Item, optional int Count) )

SetExtra Source code

function SetExtra ( string NewExtra, optional bool bListItemsOnly) )

SetFriendlyLabel Source code

function SetFriendlyLabel ( GUILabel NewLabel ) )

SetHint Source code

function SetHint ( string NewHint) )

SetIndex Source code

function SetIndex ( int I) )

SetText Source code

function SetText ( string NewText, optional bool bListItemsOnly) )

SetVisibility Source code

event SetVisibility ( bool bIsVisible) )

ShowListBox Source code

function bool ShowListBox ( GUIComponent Sender) )

TextChanged Source code

function TextChanged ( GUIComponent Sender) )


Defaultproperties

defaultproperties
{
    OnKeyEvent=InternalOnKeyEvent
    Begin Object Class=GUIToolTip Name=GUIComboBoxToolTip
    End Object
    ToolTip=GUIComboBoxToolTip


    Begin Object Class=GUIEditBox Name=EditBox1
    	bNeverScale=True
        TextStr=""
        RenderWeight=0.5
    End Object


    Begin Object Class=GUIComboButton Name=ShowList
    	bNeverScale=True
        bRepeatClick=false
        bTabStop=False
        RenderWeight=0.6
    End Object


    Begin Object Class=GUIListBox Name=ListBox1
    	bNeverScale=True
        StyleName="ComboListBox"
        bVisible=false
        FontScale=FNT_Medium
        bTabStop=False
        RenderWeight=0.7
    End Object


    Edit=EditBox1
    MyShowListBtn=ShowList
    MyListBox=ListBox1



    MaxVisibleItems=8
    WinHeight=0.06


	bAcceptsInput=True
    PropagateVisibility=true
    Index = -1
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:07.521 - Created with UnCodeX