fix bug #753: trigger onselectionchange event if user sets itemindex

git-svn-id: trunk@7333 -
This commit is contained in:
micha 2005-07-08 18:30:28 +00:00
parent 5ad37d66be
commit b6106285b6

View File

@ -500,6 +500,7 @@ begin
FItemIndex:=Val;
if HandleAllocated and ([csLoading,csDestroying]*ComponentState=[]) then
SendItemIndex;
DoSelectionChange(false);
//DebugLn('[TCustomListBox.SetItemIndex] END ',FItems.ClassName);
end;