Table of Content
HAL Forum
procedure WindowFieldGoto (
Integer wn,record NameVc Namer,Integer row no.,string FieldName,boolean Reserved)
Description:
This procedure moves coursor to chosen Field
Parameters:
wn Window Number,every open Window has got its Number
Namer any Vc or Block, Variable of Record Type(Register/Block Name), in example it is POSEventVc Record
row no. row where the coursor should appear, if field is not in row should be -1
FieldName Field Name as in Window Definition
Reserved Reserved for internal use
global
procedure POSEventOpenDrawer()
BEGIN
  Integer wn,nwn;
  record POSEventVc POSEventr;
  
  wn = CurWindow;
  GetWindowRecord(wn,POSEventr);
  WindowFieldGoto(wn,POSEventr,-1,"Drawer",true);
  nwn = OpenPasteWindow(wn,"DrawerSClass","");
  RETURN;
END;

Related topics:
««