Ignore:
Timestamp:
May 7, 2015, 12:34:29 PM (9 years ago)
Author:
healthsevak
Message:

Updating the working copy to CPRS version 28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/trunk/CPRS-Chart/Templates/uTemplateFields.pas

    r829 r1679  
    601601          begin
    602602            NewTxt := Entry.GetControlText(CtrlID, TRUE, FoundEntry, FALSE);
    603             if FoundEntry and (NewTxt = '') then
     603            if FoundEntry and (NewTxt = '') then{(Trim(NewTxt) = '') then //CODE ADDED BACK IN - VHAISPBELLC}
    604604              Result := TRUE;
    605605          end;
     
    11601160          cbo.SelectByID(StripEmbedded(FItemDefault));
    11611161          cbo.Tag := CtrlID;
    1162           cbo.OnClick := Entry.DoChange;
     1162          cbo.OnChange := Entry.DoChange;
    11631163
    11641164          if cbo.Items.Count > 12 then
     
    12951295          pnl.Width := pnl.Edit.Width + pnl.UpDown.Width;
    12961296          UpdateColorsFor508Compliance(pnl, TRUE);
     1297          //CQ 17597 wat
     1298          pnl.Edit.Align := alLeft;
     1299          pnl.UpDown.Align := alLeft;
     1300          //end 17597
    12971301          ctrl := pnl;
    12981302        end;
     
    19321936      end
    19331937      else
     1938      //!!!!!! CODE ADDED BACK IN - VHAISPBELLC !!!!!!
    19341939      if(Ctrl is TEdit) then
    19351940        Result := TEdit(Ctrl).Text
     
    19451950        Result := TORDateCombo(Ctrl).Text + ':' + FloatToStr(TORDateCombo(Ctrl).FMDate)
    19461951      else
     1952     {!!!!!! THIS HAS BEEN REMOVED AS IT CAUSED PROBLEMS WITH REMINDER DIALOGS - VHAISPBELLC !!!!!!
     1953      if(Ctrl is TORDateBox) then begin
     1954        if TORDateBox(Ctrl).IsValid then
     1955         Result := TORDateBox(Ctrl).Text
     1956        else
     1957         Result := '';
     1958      end else
     1959      }
     1960      //!!!!!! CODE ADDED BACK IN - VHAISPBELLC !!!!!!
    19471961      if(Ctrl is TORDateBox) then
    19481962        Result := TORDateBox(Ctrl).Text
     
    19731987      end
    19741988      else
     1989     {!!!!!! THIS HAS BEEN REMOVED AS IT CAUSED PROBLEMS WITH REMINDER DIALOGS - VHAISPBELLC !!!!!!
     1990      if(Ctrl is TEdit) then
     1991        Result := TEdit(Ctrl).Text
     1992      else }
    19751993      if(Ctrl is TORCheckBox) then
    19761994      begin
Note: See TracChangeset for help on using the changeset viewer.