- Timestamp:
- May 8, 2015, 7:52:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/HealthSevak-CPRS/CPRS-Chart/Templates/uTemplateFields.pas
r829 r1693 601 601 begin 602 602 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} 604 604 Result := TRUE; 605 605 end; … … 1160 1160 cbo.SelectByID(StripEmbedded(FItemDefault)); 1161 1161 cbo.Tag := CtrlID; 1162 cbo.OnC lick:= Entry.DoChange;1162 cbo.OnChange := Entry.DoChange; 1163 1163 1164 1164 if cbo.Items.Count > 12 then … … 1295 1295 pnl.Width := pnl.Edit.Width + pnl.UpDown.Width; 1296 1296 UpdateColorsFor508Compliance(pnl, TRUE); 1297 //CQ 17597 wat 1298 pnl.Edit.Align := alLeft; 1299 pnl.UpDown.Align := alLeft; 1300 //end 17597 1297 1301 ctrl := pnl; 1298 1302 end; … … 1932 1936 end 1933 1937 else 1938 //!!!!!! CODE ADDED BACK IN - VHAISPBELLC !!!!!! 1934 1939 if(Ctrl is TEdit) then 1935 1940 Result := TEdit(Ctrl).Text … … 1945 1950 Result := TORDateCombo(Ctrl).Text + ':' + FloatToStr(TORDateCombo(Ctrl).FMDate) 1946 1951 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 !!!!!! 1947 1961 if(Ctrl is TORDateBox) then 1948 1962 Result := TORDateBox(Ctrl).Text … … 1973 1987 end 1974 1988 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 } 1975 1993 if(Ctrl is TORCheckBox) then 1976 1994 begin
Note:
See TracChangeset
for help on using the changeset viewer.