interactive List of Textoptions (LISTBOXITEM) of the Frame Family.
it seems that (In V1.32.6) the frame api lacks events to use LISTBOX intuitive making it kinda weak.
IncludeFile "UI\FrameDef\Glue\StandardTemplates.fdf",
IncludeFile "UI\FrameDef\UI\EscMenuTemplates.fdf",
Frame "LISTBOXITEM" "MyListBoxItemTemplate" {
}
Frame "LISTBOX" "MyListBox" {
Height 0.08,
Width 0.12,
SetPoint CENTER, "ConsoleUI", CENTER, 0, 0,
ControlBackdrop "ListBoxBackdrop",
Frame "BACKDROP" "ListBoxBackdrop" INHERITS "EscMenuEditBoxBackdropTemplate" {
UseActiveContext,
}
ListBoxScrollBar "ListScrollBar",
Frame "SCROLLBAR" "ListScrollBar" INHERITS WITHCHILDREN "StandardScrollBarTemplate" {
}
Frame "LISTBOXITEM" "A" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item A",
}
Frame "LISTBOXITEM" "B" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item B",
}
Frame "LISTBOXITEM" "C" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item C",
}
Frame "LISTBOXITEM" "D" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item D",
}
Frame "LISTBOXITEM" "E" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item E",
}
Frame "LISTBOXITEM" "F" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item F",
}
Frame "LISTBOXITEM" "G" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item G",
}
Frame "LISTBOXITEM" "H" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item H",
}
Frame "LISTBOXITEM" "I" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item I",
}
Frame "LISTBOXITEM" "J" INHERITS WITHCHILDREN "MyListBoxItemTemplate" {
Text "Item J",
}
ListBoxBorder 0.01, // how big is the used border used for offsetting the items
ListBoxItemHeight 0.013,
ListBoxItem ADDEND, "A", // position at which FrameName is added, sadly the target loses its name
ListBoxItem ADDEND, "B",
ListBoxItem ADDEND, "C",
ListBoxItem ADDEND, "D",
ListBoxItem ADDEND, "E",
ListBoxItem ADDEND, "F",
ListBoxItem ADDEND, "G",
ListBoxItem ADDEND, "H",
ListBoxItem ADDEND, "I",
ListBoxItem ADDEND, "J",
}