Changeset 756 for cprs/branches/GUI-config/MainU.pas
- Timestamp:
- May 12, 2010, 3:05:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/GUI-config/MainU.pas
r544 r756 1037 1037 1038 1038 procedure TMainForm.ClearGrid(Grid : TStringGrid); 1039 begin 1040 Grid.Cells[0,1] := ''; 1041 Grid.Cells[1,1] := ''; 1042 Grid.Cells[2,1] := ''; 1039 var i:integer; 1040 begin 1041 for i := 1 to 23 do begin //elh added to clear all data as some residual remained 1042 Grid.Cells[0,i] := ''; 1043 Grid.Cells[1,i] := ''; 1044 Grid.Cells[2,i] := ''; 1045 end; 1043 1046 Grid.RowCount :=2; 1044 1047 end; … … 1478 1481 //Reject any value containing a "^" , ":" , ";" 1479 1482 //Do we need an @ here as well? 1480 if (AnsiPos('^',Entry.newvalue) > 0) or (AnsiPos(':',Entry.newvalue) > 0) or1483 if (AnsiPos('^',Entry.newvalue) > 0) or //(AnsiPos(':',Entry.newvalue) > 0) or //elh Taken out because : used in time 1481 1484 (AnsiPos(';',Entry.newvalue) > 0)then begin 1482 1485 messagedlg('Invalid value entered for ' + Entry.Fieldname + #13 + #10 … … 1912 1915 procedure TMainForm.UserPageControlChange(Sender: TObject); 1913 1916 begin 1914 if SettingsPageControl.ActivePage = tsBasicSettingsthen begin1915 SetVisibleGridIdx(BasicUsersGrid); 1917 if UserPageControl.ActivePage = tsBasicPage then begin 1918 SetVisibleGridIdx(BasicUsersGrid); 1916 1919 end else begin 1917 1920 SetVisibleGridIdx(AdvancedUsersGrid);
Note:
See TracChangeset
for help on using the changeset viewer.