Reminder to self, when presenting a dialog for editing an hcOPF object a generic OK button click or action Execute handler is:procedure TfrmObjectDialog.btOKClick(Sender: TObject);var ValidationErrorList: ThcValidationErrorList;begin //switch focus to another TWinControl to ensure the current focused editor //updates it's Subject SelectNext(ActiveControl as TWinControl,True,True); ValidationErrorList := ThcValidationErrorList.Create(); try [...]
Weiterlesen...