docs: public void syncBehaviorToRecord(BaseField fldDependent)
      {
          if (this.getOwner() != null)
          {
              Record record = this.getOwner().getRecord();
              if (record != null)
              {   // Trip this listener, but do not trip the field changed behaviors
                  boolean bModified = this.getOwner().isModified();
                  boolean[] rgbEnabled = this.getOwner().setEnableListeners(false);
                  boolean[] rgbDependentEnabled = null;
                  boolean bOldDepModified = false;
                  if (fldDependent != null)
                  {
                      bOldDepModified = fldDependent.isModified();
                      rgbDependentEnabled = fldDependent.setEnableListeners(false);
                  }
                  if (((record.getEditMode() == DBConstants.EDIT_ADD)
                      || (record.getEditMode() == DBConstants.EDIT_NONE))
                      && (this.respondsToMode(DBConstants.INIT_MOVE)))
                          this.fieldChanged(DBConstants.DISPLAY, DBConstants.INIT_MOVE);
                  else if (((record.getEditMode() == DBConstants.EDIT_IN_PROGRESS)
                      || (record.getEditMode() == DBConstants.EDIT_CURRENT))
                      && (this.respondsToMode(DBConstants.READ_MOVE)))
                          this.fieldChanged(DBConstants.DISPLAY, DBConstants.READ_MOVE);
                  this.getOwner().setEnableListeners(rgbEnabled);
                  this.getOwner().setModified(bModified);
                  if (fldDependent != null)
                  {
                      fldDependent.setEnableListeners(rgbDependentEnabled);
                      fldDependent.setModified(bOldDepModified);
                  }
              }
          }
      }