P protossgffnxk Unregistered / Unconfirmed GUEST, unregistred user! 2007-11-13 #1 在新增时后,当前记录会显示在最上面一行,能不能在新增的时候就按树型结构显示
Z zhouyujie238 Unregistered / Unconfirmed GUEST, unregistred user! 2007-11-13 #2 我也碰到这个问题了,关注一下。。。。。。
L lindaolong Unregistered / Unconfirmed GUEST, unregistred user! 2007-11-13 #3 好像跟数据表的ID有关系 如:11/1101/110101
P protossgffnxk Unregistered / Unconfirmed GUEST, unregistred user! 2007-11-13 #6 搞定了,调用DBTreeList.FocusedNode.MoveTo方法
P protossgffnxk Unregistered / Unconfirmed GUEST, unregistred user! 2007-11-13 #8 换了dxDBTreeList ANode := DBTreeList.FocusedNode; P_ID := Self.qryHeadTM_Position_ID.AsString; qryHead.Insert; Self.qryHeadSuper_TM_Position_ID.AsString := P_ID; Self.DBTreeList.FocusedNode.MoveTo(ANode, natlAddChild);
换了dxDBTreeList ANode := DBTreeList.FocusedNode; P_ID := Self.qryHeadTM_Position_ID.AsString; qryHead.Insert; Self.qryHeadSuper_TM_Position_ID.AsString := P_ID; Self.DBTreeList.FocusedNode.MoveTo(ANode, natlAddChild);