I do not use the ttreeview alot. I recently started to use it and while the application was in DEBUG mode there were no issues.
No changes or ifdefs in code but simply changing to release - and it does not work!
Delphi 11.2 with latest patches.
example code snippet:
calling:
TfrmMain.ttreeViewChange(Sender: TObject; Node: TTreeNode);
//....
if Node.HasAsParent(myParentNode) then
begin
myParentNode := Node.Parent;
strParentText := myParentNode.Text;
end;
when in DEBUG = strParentText string has a value (which I use to compare and branch later in the code)
when in RELEASE = strParentText is empty...
Has anyone seen this before?
I am do more tests and my plan is to make a dedicated pre populated treeview to test against. (and send to Embarcadero)
Thanks in advance