panel.SetPanelDirectory

LuaFAR 3

panel.SetPanelDirectory


result = panel.SetPanelDirectory (handle, whatpanel, dir)

Parameters:
  handle:    panel handle, or nil
  whatpanel: 1=active panel; 0=passive panel;
  dir:       string, or table tFarPanelDirectory
             (if dir.PluginId is not set, it defaults to Far ID)

Returns:
  result: boolean

Far API used:
  PanelControl, FCTL_SETPANELDIRECTORY