Table of Content
HAL Forum
function Integer OpenPasteWindow (
Integer MotherWindow,string WindowName,string Find)
Description:
This function is used for opening Paste Special Windows, returns number of open Window
Parameters:
MotherWindow Number of Mother Window, ie when pasting Drawer to Event, Event Window is Mother of Paste Drawer, when user selects Drawer its code will be paste to Mother Window(Event)
WindowName valid Window Name/Identifier, must exist in Language Sources
Find string you want to search when user opens Window
global
procedure POSEventOpenDrawer()
BEGIN
  Integer wn,nwn;
  record POSEventVc POSEventr;
  
  wn = CurWindow;
  GetWindowRecord(wn,POSEventr);
  WindowFieldGoto(wn,POSEventr,-1,"Drawer");
  nwn = OpenPasteWindow(wn,"DrawerSClass","");
  RETURN;
END;

Related topics:
««