Recently, my old projects (use devexpress vcl) upgrade from 13.1.3 to 14.1.3. (Delphi XE)
I found a strange problem, the same code, OnFocusedNodeChanged events don't work properly.
I modified the data in the OnFocusedNodeChanged events, but cxDBTreeList won't refresh immediately and load the new data.
Please compile the example in the attachment, respectively using the Ver 13.1.3 & Ver 14.1.3 compilation, there will be two different results.
I compared the your source code, in cxDBTL.pas unit.
Ver 13.1.3:
Delphiprocedure TcxTreeListDataLink.LayoutChanged;
begin
if TreeList.DataBusy then
TreeList.RefreshTree
else
DataSetChanged;
end;
Ver 14.1.3:
Delphiprocedure TcxTreeListDataLink.LayoutChanged;
begin
DataSetChanged;
end;
Hello Justin,
I've reproduced both behaviors. I'm forwarding this thread to our developers for further processing and research.