mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 06:29:29 +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;
|
FItemIndex:=Val;
|
||||||
if HandleAllocated and ([csLoading,csDestroying]*ComponentState=[]) then
|
if HandleAllocated and ([csLoading,csDestroying]*ComponentState=[]) then
|
||||||
SendItemIndex;
|
SendItemIndex;
|
||||||
|
DoSelectionChange(false);
|
||||||
//DebugLn('[TCustomListBox.SetItemIndex] END ',FItems.ClassName);
|
//DebugLn('[TCustomListBox.SetItemIndex] END ',FItems.ClassName);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user