viewer.SetKeyBar

LuaFAR 3

viewer.SetKeyBar


result = viewer.SetKeyBar (ViewerID, param)

Parameters:
  ViewerID: integer, or nil
  param, either of:
      - string "redraw":  redraw the key bar titles;
      - string "restore": restore the original titles;
      - table (array of tKeyBarLabel tables)

Returns:
  result:   boolean

Far API used:
  ViewerControl, VCTL_SETKEYBAR