Advertisement
ksyshshot

курсач

May 24th, 2023 (edited)
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.39 KB | Source Code | 0 0
  1. procedure TFormMenu.ClearDictionary(var Dict: TValueListEditor; Count: Integer);
  2. var
  3.     I: Integer;
  4. begin
  5.     if (Dict.RowCount > 1) then
  6.     begin
  7.         if not(IsRowEmpty(Dict, (Dict.RowCount - 1))) then
  8.         begin
  9.             Dict.Row := 1;
  10.             for I := Count downto 1 do
  11.             begin
  12.                 Dict.DeleteRow(I);
  13.             end;
  14.         end;
  15.     end;
  16. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement