This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
Selection already changed in AfterInPlaceEditOperation with TElTreeInplaceComboBox
Hi,
we are using a TElXTree with EplorerEditMode set to true. After exiting a TElTreeInplaceComboBox via click on another row, the TElXTree's .Selected.Index will already have the new index value when arriving at the editor's .AfterInPlaceEditOperation event.
With the others (at least TElTreeInplaceEdit, TElTreeInplaceCheckBox), the Selected.Index will still have the old value.
The difference also becomes obvious with TElxTree.OnItemFocused:
We have tested with Delphi 11.3 + LMD 2022.10 and 13.1 + 2025.4 (the older one also has the "no parent window bug" with the CheckBox, which seems to be irrelevant in this regard, though)
Can this be addressed or am I missing something/should not rely on the sequence?
Thanks for checking and all the best,
Stefan (Konzeptum)
we are using a TElXTree with EplorerEditMode set to true. After exiting a TElTreeInplaceComboBox via click on another row, the TElXTree's .Selected.Index will already have the new index value when arriving at the editor's .AfterInPlaceEditOperation event.
With the others (at least TElTreeInplaceEdit, TElTreeInplaceCheckBox), the Selected.Index will still have the old value.
The difference also becomes obvious with TElxTree.OnItemFocused:
- with e. g. TElTreeInplaceEdit it's AfterInPlaceEditOperation -> OnItemFocused
- with TElTreeInplaceComboBox it's OnItemFocused -> AfterInPlaceEditOperation
still holds.
We have tested with Delphi 11.3 + LMD 2022.10 and 13.1 + 2025.4 (the older one also has the "no parent window bug" with the CheckBox, which seems to be irrelevant in this regard, though)
Can this be addressed or am I missing something/should not rely on the sequence?
Thanks for checking and all the best,
Stefan (Konzeptum)

Comments
TElTreeInplaceComboBox($037ECDE0)
.THackInplaceComboBox($04E7FD60)