Changeset 5 for trunk/UNetworkTest.pas


Ignore:
Timestamp:
Nov 27, 2008, 12:46:04 PM (15 years ago)
Author:
george
Message:
  • Odstraněno: Funkce a ovládací prvky související s vytáčením VPN.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore set to
      *.dcu
      KonfiguratorZdechovNET.exe
      KonfiguratorZdechovNET.res
  • trunk/UNetworkTest.pas

    r4 r5  
    7878function Parse: string;
    7979begin
    80   Result:= Copy(Row,1,Pos(':',Row)-1);
    81   Delete(Row,1,Length(Result)+1);
     80  Result:= Copy(Row, 1, Pos(':', Row) - 1);
     81  Delete(Row, 1, Length(Result) + 1);
    8282end;
    8383
    8484function NetworkListFilename: string;
    8585begin
    86   Result := CommonAppDataPath+'\'+Creator+'\'+ApplicationName;
     86  Result := CommonAppDataPath + '\' + Creator + '\' + ApplicationName;
    8787  if not DirectoryExists(Result) then
    8888    ForceDirectories(Result);
     
    152152    ListView1.SetFocus;
    153153//    ListView1.Items.BeginUpdate;
    154     for I := 0 to ListView1.Items.Count-1 do with ListView1.Items[I] do begin
     154    for I := 0 to ListView1.Items.Count - 1 do with ListView1.Items[I] do begin
    155155      Selected := True;
    156156      Focused := True;
     
    169169procedure TNetworkTest.Button2Click(Sender: TObject);
    170170 begin
    171   if Button2.Caption = 'Otestovat' then begin
     171  if Button2.Caption = 'Otestovat' then
     172  begin
    172173    Button2.Caption := 'Pøerušit';
    173174    ComboBox1.Enabled := False;
     
    248249  ListView1.Items.EndUpdate;
    249250  if ListView1.Items.Count > 4 then Height := ListView1.Items.Count * 15 + 97
    250     else Height := 4*15 + 97;
    251   if Height > (Screen.Height-50) then Height := Screen.Height - 50;
     251    else Height := 4 * 15 + 97;
     252  if Height > (Screen.Height - 50) then Height := Screen.Height - 50;
    252253end;
    253254
Note: See TracChangeset for help on using the changeset viewer.