# Clear List Selection
Grammar — Clear the selected item of list for players
Flags —Native
|Action
Clears the selection for the specified dialog.
# Arguments
int
[ control ] — Listplayergroup
— Players
Returns — void
native void DialogControlClearSelectedItem(
int control,
playergroup players,
);
# Related
Category: Dialog / Dialog Item Values
- [F] —
void
— Set Dialog Item Current Value — ( libNtve_gf_SetDialogItemCurrentValue ) - [F] —
void
— Set Dialog Item Minimum Value — ( libNtve_gf_SetDialogItemMinimumValue ) - [F] —
void
— Set Dialog Item Maximum Value — ( libNtve_gf_SetDialogItemMaximumValue ) - [F] —
void
— Set Dialog Item Checked — ( libNtve_gf_SetDialogItemChecked ) - [F] —
void
— Set Dialog Item Edit Value — ( libNtve_gf_SetDialogItemEditorValue ) - [F] —
fixed
— Dialog Item Current Value — ( libNtve_gf_DialogItemValue ) - [F] —
fixed
— Dialog Item Maximum Value — ( libNtve_gf_DialogItemMaximumValue ) - [F] —
fixed
— Dialog Item Minimum Value — ( libNtve_gf_DialogItemMinimumValue ) - [F] —
bool
— Dialog Item Is Checked — ( libNtve_gf_DialogItemIsChecked ) - [F] —
string
— Dialog Item Edit Value — ( libNtve_gf_DialogItemEditValue ) - [F] —
void
— Add List Item — ( DialogControlAddItem ) - [F] —
void
— Select List Item — ( DialogControlSelectItem ) - [F] —
void
— Clear List Selection — ( DialogControlClearSelectedItem ) - [F] —
int
— Selected List Item — ( DialogControlGetSelectedItem ) - [F] —
int
— Count Of List Items — ( DialogControlGetItemCount ) - [F] —
void
— Remove List Item — ( DialogControlRemoveItem ) - [F] —
void
— Remove All List Items — ( DialogControlRemoveAllItems ) - [F] —
void
— Add Graph Data Point — ( DialogControlAddDataPoint ) - [F] —
void
— Remove All Graph Data Points — ( DialogControlRemoveAllDataPoints ) - [F] —
void
— Set Graph Data Color — ( DialogControlSetDataColor ) - [F] —
void
— Set Graph Data Name — ( DialogControlSetDataName ) - [F] —
void
— Set Graph Minimum X Visible — ( DialogControlSetMinXVisible ) - [F] —
fixed
— Get Graph Minimum X Value — ( DialogControlGetMinXValue ) - [F] —
void
— Set Graph Maximum X Visible — ( DialogControlSetMaxXVisible ) - [F] —
fixed
— Get Graph Maximum X Value — ( DialogControlGetMaxXValue ) - [F] —
void
— Set Graph Minimum Y Visible — ( DialogControlSetMinYVisible ) - [F] —
fixed
— Get Graph Minimum Y Value — ( DialogControlGetMinYValue ) - [F] —
void
— Set Graph Maximum Y Visible — ( DialogControlSetMaxYVisible ) - [F] —
fixed
— Get Graph Maximum Y Value — ( DialogControlGetMaxYValue )
# Examples
# mods/heroesdata.stormmod
// L2276
DialogControlClearSelectedItem(lv_dropdown, libCore_gv_playerGroupFromPlayer[lp_player])
// L2351
DialogControlClearSelectedItem(lv_list, libCore_gv_playerGroupFromPlayer[lp_player])
// L2394
DialogControlClearSelectedItem(lv_list, libCore_gv_playerGroupFromPlayer[lp_player])
// L10586
DialogControlClearSelectedItem(lv_listRight, libCore_gv_playerGroupFromPlayer[lv_triggeringPlayer])
// L10638
DialogControlClearSelectedItem(lv_listRight, libCore_gv_playerGroupFromPlayer[lv_triggeringPlayer])
// L10911
DialogControlClearSelectedItem(lv_listRight, libCore_gv_playerGroupFromPlayer[lv_triggeringPlayer])