按下F2编辑dxDBTreeView的节点

在TdxDBTreeView控件的OnKeyDown事件中写入
if Key = VK_F2 then
begin
  if DBTreeMain.DBSelected = nil then
    Exit;
  DBTreeMain.DBSelected.EditText;
end;

原文地址:https://www.cnblogs.com/jijm123/p/11342260.html