## class XGListControl

> Declared in <XList.h>
> Declared from XGScrollView

> The list control

Memory extraction

> XGListControl::ClearSelect
> XGListControl::Delete
> XGListControl::DeleteAll
> XGListControl::GetItem
> XGListControl::GetSelect
> XGListControl::GetValue
> XGListControl::Insert
> XGListControl::Length
> XGListControl::SetSelect
> XGListControl::SetUpdate
> XGListControl::SetValue
> XGListControl::XGListControl
> XGListControl::~XGListControl

Memory extraction

XGListControl::ClearSelect

> Usage: void XGListControl::ClearSelect(void)

> Clear the selection state for everything

XGListControl::Delete

> Usage: void XGListControl::Delete(long index)

> Delete this item

XGListControl::DeleteAll

> Usage: void XGListControl::DeleteAll(void)

> Delete all items

XGListControl::GetItem

> Usage: void XGListControl::GetItem(long index,char*data)const

> Get the specified item in a zero-based index

XGListControl::GetSelect

> Usage: bool XGListControl::GetSelect(long index)

> Get the selection state

XGListControl::GetValue

> Usage: long XGListControl::GetValue()

> Useful for single selection stuff; this returns the index of the first selected item, or -1 if none are selected

XGListControl::Insert

> Usage: void XGListControl::Insert(long index,const char*buffer)

> Insert this item

XGListControl::Length

> Usage: long XGListControl::Length()const

> # items in me

XGListControl::SetSelect

> Usage: void XGListControl::SetSelect(long index,bool state)

> Set the selection state

XGListControl::SetUpdate

> Usage: void XGListControl::SetUpdate(bool update)

> Set the update

XGListControl::SetValue

> Usage: void XGListControl::SetValue(long value)

> Set only one selected item. Even if multiple selection is enabled

XGListControl::XGListControl

> Usage: void XGInlineEdit::LoseFocus()

> Create the list controls

XGListControl::~XGListControl

> Usage: XGListControl::~XGListControl()

> Delete this.