Changeset 4
- Timestamp:
- Dec 3, 2009, 9:09:58 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UMainForm.dfm
r3 r4 12 12 Font.Style = [] 13 13 OldCreateOrder = False 14 OnClose = FormClose 14 15 OnCreate = FormCreate 15 16 OnDestroy = FormDestroy … … 30 31 'ddress]." comment=".[get $i comment]." network=".[get $i network' + 31 32 '])}}' 32 ExplicitTop = 32733 ExplicitWidth = 43234 33 end 35 34 object Button1: TButton … … 42 41 TabOrder = 1 43 42 OnClick = Button1Click 44 ExplicitLeft = 45445 ExplicitTop = 32746 43 end 47 44 object PageControl1: TPageControl … … 55 52 object TabSheet1: TTabSheet 56 53 Caption = 'TabSheet1' 57 ExplicitWidth = 53158 ExplicitHeight = 30359 54 object Memo1: TMemo 60 55 Left = 0 … … 71 66 ScrollBars = ssBoth 72 67 TabOrder = 0 73 ExplicitLeft = 874 ExplicitTop = 875 ExplicitWidth = 54476 ExplicitHeight = 32377 68 end 78 69 end … … 80 71 Caption = 'TabSheet2' 81 72 ImageIndex = 1 82 ExplicitWidth = 53183 ExplicitHeight = 30384 73 object Memo2: TMemo 85 74 Left = 0 … … 96 85 ScrollBars = ssBoth 97 86 TabOrder = 0 98 ExplicitLeft = 899 ExplicitTop = 8100 ExplicitWidth = 544101 ExplicitHeight = 323102 87 end 103 88 end -
trunk/UMainForm.pas
r2 r4 19 19 procedure FormDestroy(Sender: TObject); 20 20 procedure Button1Click(Sender: TObject); 21 procedure FormClose(Sender: TObject; var Action: TCloseAction); 21 22 private 22 23 procedure DoLineRecieve(Line: string); … … 61 62 end; 62 63 64 procedure TMainForm.FormClose(Sender: TObject; var Action: TCloseAction); 65 begin 66 LoaderForm.Close; 67 end; 68 63 69 procedure TMainForm.FormCreate(Sender: TObject); 64 70 begin -
trunk/URouterOS.pas
r2 r4 84 84 var 85 85 I: Integer; 86 Temp: string; 86 87 begin 87 88 I := 1; … … 115 116 until I >= Length(Buffer); 116 117 118 Temp := Trim(Line); 117 119 if Line <> '' then 118 120 case FConnectionState of … … 131 133 csConnectedCommandProcessing: begin 132 134 if Line[1] = '[' then begin 133 if not FirstResponseBracket then FirstResponseBracket := True 134 else ChangeState(csConnectedReady) 135 //if not FirstResponseBracket then FirstResponseBracket := True 136 //else ChangeState(csConnectedReady) 137 if (Line[1] = '[') and (Temp[Length(Temp)] = '>') then 138 ChangeState(csConnectedReady); 135 139 end else CommandResponse.Add(Line); 136 140 end; 137 141 end; 138 142 end; 139 140 143 141 144 destructor TRouterOS.Destroy;
Note:
See TracChangeset
for help on using the changeset viewer.