Changeset 105 for oup/rewrite/Tools/Template.pas
- Timestamp:
- Feb 21, 2007, 1:29:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/rewrite/Tools/Template.pas
r101 r105 117 117 else 118 118 datatype := 'Unknown: '; 119 boxstring := datatype + fn + ' (Level: ' + IntToStr(level) + ') ';119 boxstring := datatype + fn + ' (Level: ' + IntToStr(level) + ') [' + IntToStr(ConManager.ConnectionByIndex[i].ConnectionID) + ']'; 120 120 combo_connection.Items.Add(boxstring); 121 121 if ConManager.ConnectionByIndex[i].ConnectionID = FConnectionID then … … 276 276 begin 277 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 279 282 else 280 283 FConnectionID := -1;
Note:
See TracChangeset
for help on using the changeset viewer.