Thank you. Knowing that it works fine for you helps.
So then I added a new ElXTree to my form and the mouse scroll wheel worked fine. That seemed to indicate one of my properties must be different than the default.
Sure enough. The default for UseC…
I found another case where I still got the error. So I changed my fix above, to this:
if (Message.Msg = WM_CANCELMODE) or ((Message.Msg = CM_CANCELMODE) and (TObject(Pointer(Message.lParam)) Editor)) or (Message.Msg = WM_KILLFOCUS)…
I found it!!!!!!!!!!!!!!
At the bottom of TElTreeInplaceEdit.EditorWndProc is:
if (Message.Msg = WM_CANCELMODE) or
((Message.Msg = CM_CANCELMODE) and
(TObject(Pointer(Message.lParam)) Editor)) or
(Message.Msg = WM_KILLFOCUS) then…
Eugene,
The debug trace includes the following Elpack routines:
ElXTree.TElXTreeView.WndProc - the last line: inherited
which calls a few vcl routines and thenElXTree.TElXTreeView.WMLButtonDown, and then ElXTree.TElXTreeView.IntLButtonDown - the …
Good question.
I removed the handler, and yes, the issue still happens when editing the text and (without pressing Enter) clicking anywhere outside what was edited.
And just to make sure, I added back the code that I removed, and the issue still …
Thanks, Eugene:
I have a TElXTree on a form with 7 sections. The 2nd section is a Text field that is marked Editable. I have a TElTreeInplaceEdit on the form associated with the TElXTree.
I use 3 events for the InplaceEdit:- InplaceEditBeforeOpera…
The same thing happened to me, but using TElTreeInplaceEdit. I am using Delphi 10.2.2
The fix for TElDateTimePicker that you give above doesn't work here since there is no WMKillFocus event in ElTreeStdEditors.
Can you confirm this problem and sug…
Oh I'm bad. The above example is for my "How Can I Exit My Inplace-Editor AND Process the Button?" question I asked on the lmd.public.vcl.elpack newsgroup. And there you said that you found the problem but don't have an answer yet.
But now I'm try…
View the source of: http://forum.lmd.de/discussions/feed.rss
and look for:
All Questions - LMD Innovative - Forum
http://forum.lmd.de/discussions/feed.rss
No I didn't. It is a problem with ElXTree. I just found that I can make the problem happen in one of your demos.
1. Go to your MegaDemo_ElXTree. I am using your d12 version for Delphi 2009.
2. In the form for unit d_LMDElXTree_InplaceEdit, change …
Actually, I think I figured it out. This is what I've done and it seems to work.
procedure TOrganizePages.TagsDisplayInplaceEditEditorOnKeyUp(Sender: TObject;
var Key: Word; Shift: TShiftState);
begin
case Key of
$41: { A part of Ctrl-A }
…