Table of Content
HAL Forum
procedure SetWindowState (
integer TargetWindow,integer StatusID)
Description:
Change the state of the record window to make HansaWorld execute certain window and record specific events.
Parameters:
TargetWindow The window that will receive the new status
StatusID The ID that represents a certain status being set (Rs_normal, Rs_insert, Rs_update, Rs_select, Rs_search, Rs_delete, Rs_max)
global
updating procedure RDBClearData()
begin
  Integer wn,i,rwcnt;
  record RDBRegsBlock RDBr;
  
  wn = CurWindow;
  
  RDBDoClearData(WindowActiveRow(wn));
  
  BlockLoad(RDBr);
  PutWindowRecord(wn,RDBr);
  SetWindowState(wn,Rs_normal);
  
  return;
end;
Related topics:
««