41 |
|
TIBServiceEditorForm = class(TForm) |
42 |
|
Bevel1: TBevel; |
43 |
|
CancelBtn: TButton; |
44 |
+ |
PortNo: TEdit; |
45 |
+ |
Label1: TLabel; |
46 |
|
ServiceParams: TMemo; |
47 |
|
Label2: TLabel; |
48 |
|
Label3: TLabel; |
139 |
|
end; |
140 |
|
tempService.ServerName := ServerName.Text |
141 |
|
end; |
142 |
+ |
tempService.PortNo := PortNo.Text; |
143 |
|
tempService.Params.Assign(ServiceParams.Lines); |
144 |
|
tempService.LoginPrompt := true; |
145 |
|
try |
169 |
|
|
170 |
|
ServerName.Text := Service.ServerName; |
171 |
|
LoginPrompt.Checked := Service.LoginPrompt; |
172 |
+ |
PortNo.Text := Service.PortNo; |
173 |
|
UserName.Text := GetParam('user_name'); |
174 |
|
Password.Text := GetParam('password'); |
175 |
|
RemoteRbtn.Checked := (Service.Protocol <> Local); |
192 |
|
end; |
193 |
|
Service.Params := ServiceParams.Lines; |
194 |
|
Service.LoginPrompt := LoginPrompt.Checked; |
195 |
+ |
Service.PortNo := PortNo.Text; |
196 |
|
Result := True; |
197 |
|
end; |
198 |
|
end; |