Changeset 13 for trunk/UNetworkTest.pas
- Timestamp:
- Feb 11, 2008, 2:14:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UNetworkTest.pas
r12 r13 226 226 3: begin 227 227 // Show all items 228 for I := 1 to High(Devices) do with Devices[I] do begin229 Item := ListView1.Items.Add;230 Item.Caption := Name;228 for I := 1 to High(Devices) do with Devices[I] do begin 229 Item := ListView1.Items.Add; 230 Item.Caption := Name; 231 231 with Item.SubItems do begin 232 232 Add(IP); … … 238 238 end; 239 239 ListView1.Items.EndUpdate; 240 if ListView1.Items.Count > 4 then Height := ListView1.Items.Count*14 + 97241 else Height := 4*14 + 97;242 if Height > (Screen.Height -50) then Height:= (Screen.Height-50);240 if ListView1.Items.Count > 4 then Height := ListView1.Items.Count * 14 + 97 241 else Height := 4 * 14 + 97; 242 if Height > (Screen.Height - 50) then Height := (Screen.Height - 50); 243 243 end; 244 244 … … 250 250 procedure TNetworkTest.SpinEdit1Change(Sender: TObject); 251 251 begin 252 MainWindow.PingTimeout := SpinEdit1.Value;252 MainWindow.PingTimeout := SpinEdit1.Value; 253 253 end; 254 254
Note:
See TracChangeset
for help on using the changeset viewer.