I found the problem – and it was my fault. Apparently v6 must have been tolerant of this mistake but v7 was not. Thank you for checking anyway – and my apologies.
Example of logic error:
Code:
sListbox_EntityControl.items.clear;
for iX := 1 To iEntSize do
begin
sListbox_EntityControl.items[iX-1] := szText;
end;
Repaired logic:
Code:
sListbox_EntityControl.items.clear;
for iX := 1 To iEntSize do
begin
sListbox_EntityControl.items.add(szText);
end;