panel.ClearSelection

LuaFAR 3

panel.ClearSelection


result = panel.ClearSelection (handle, whatpanel, items)

Parameters:
  handle:       panel handle, or nil
  whatpanel:    1=active_panel, 0=inactive_panel
  items:        integer (1-based item index),
                or table (array of item indexes)

Returns:
  result: boolean

Far API used:
  PanelControl, FCTL_GETPANELINFO, FCTL_BEGINSELECTION,
  FCTL_CLEARSELECTION, FCTL_ENDSELECTION