116 |
|
datatype := 'OUP-DB: ' |
117 |
|
else |
118 |
|
datatype := 'Unknown: '; |
119 |
< |
boxstring := datatype + fn + ' (Level: ' + IntToStr(level) + ')'; |
119 |
> |
boxstring := datatype + fn + ' (Level: ' + IntToStr(level) + ') [' + IntToStr(ConManager.ConnectionByIndex[i].ConnectionID) + ']'; |
120 |
|
combo_connection.Items.Add(boxstring); |
121 |
|
if ConManager.ConnectionByIndex[i].ConnectionID = FConnectionID then |
122 |
|
combo_connection.ItemIndex := combo_connection.Items.Count - 1; |
275 |
|
i: Integer; |
276 |
|
begin |
277 |
|
if combo_connection.ItemIndex >= 0 then |
278 |
< |
FConnectionID := combo_connection.ItemIndex |
278 |
> |
begin |
279 |
> |
name := combo_connection.Items.Strings[combo_connection.ItemIndex]; |
280 |
> |
FConnectionID := StrToInt(MidStr(name, Pos('[', name) + 1, Pos(']', name) - Pos('[', name) - 1)); |
281 |
> |
end |
282 |
|
else |
283 |
|
FConnectionID := -1; |
284 |
|
RecreateExtList; |