Skip to content

Commit

Permalink
update cleaning flags
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosua committed Jan 27, 2024
1 parent 2c9620a commit 8d89789
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MainUnit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3696,7 +3696,9 @@ procedure TMainForm.ClearFields(Where: TType);
begin
if ((Components[i] is TLabeledEdit) or (Components[i] is TJvComboEdit) or (Components[i] is TMemo)) and
((Pos('ed'+s+'t',Components[i].Name)=1) or (Pos('ed'+s+'l',Components[i].Name)=1) or (Pos('ed'+s+'o',Components[i].Name)=1) or
(Pos('me'+s+'t',Components[i].Name)=1) or (Pos('me'+s+'l',Components[i].Name)=1) or (Pos('me'+s+'o',Components[i].Name)=1)) then
(Pos('me'+s+'t',Components[i].Name)=1) or (Pos('me'+s+'l',Components[i].Name)=1) or (Pos('me'+s+'o',Components[i].Name)=1) or
(Pos('ed'+s+'riloc',Components[i].Name)=1) or (Pos('ed'+s+'orloc',Components[i].Name)=1) or
(Pos('ed'+s+'d',Components[i].Name)=1) or (Pos('ed'+s+'ri',Components[i].Name)=1) or (Pos('ed'+s+'ms',Components[i].Name)=1) ) then
TCustomEdit(Components[i]).Clear;
if (Components[i] is TJvListView) and ((Pos('lv'+s+'o',Components[i].Name)=1) or (Pos('lv'+s+'l',Components[i].Name)=1) or (Pos('lv'+s+'t',Components[i].Name)=1)) then
TCustomListView(Components[i]).Clear;
Expand Down

0 comments on commit 8d89789

Please sign in to comment.