panel.GetUserScreen

LuaFAR 3

panel.GetUserScreen


result = panel.GetUserScreen ([handle], [scrolltype])

Parameters:
  handle:     panel handle
  scrolltype: integer (defaults to 0)

Returns:
  result: boolean

Far API used:
  PanelControl, FCTL_GETUSERSCREEN

Example:
  function printToFARConsole(...)
    panel.GetUserScreen()
    io.write(...)
    io.write("\n")
    panel.SetUserScreen()
  end