mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 02:49:30 +02:00
fix bug #753: trigger onselectionchange event if user sets itemindex
git-svn-id: trunk@7333 -
This commit is contained in:
parent
5ad37d66be
commit
b6106285b6
@ -500,6 +500,7 @@ begin
|
||||
FItemIndex:=Val;
|
||||
if HandleAllocated and ([csLoading,csDestroying]*ComponentState=[]) then
|
||||
SendItemIndex;
|
||||
DoSelectionChange(false);
|
||||
//DebugLn('[TCustomListBox.SetItemIndex] END ',FItems.ClassName);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user