做一个树形分类,treeview点击代码如下,前台界面一点击就出现参数不正确的错误提示,烦请各位大侠给予指导(dephi2010),急。。。。
procedure TFrmmaterialsort.TreeView1Change(Sender: TObject;
Node: TTreeNode);
begin
with dtmdlmaterial do
begin
relatedele;
if node.Level=1 then
begin
sortonerelate;
atsortone.GotoBookmark(node.Data);
end
else
if node.Level=2 then
begin
sorttworelate;
atsorttwo.GotoBookmark(node.Data);
end
else
if node.Level=3 then
begin
sortthreerelate;
atsortthree.GotoBookmark(node.data);
end
else
if node.Level=4 then
begin
sortfourrelate;
atsortfour.GotoBookmark(node.data);
end;
end;
end;
关于treeview中gotobookmark的问题请教,急。。。
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
0条回答 默认 最新
悬赏问题
- ¥50 Kubernetes&Fission&Eleasticsearch
- ¥15 有没有帮写代码做实验仿真的
- ¥15 報錯:Person is not mapped,如何解決?
- ¥30 vmware exsi重置后登不上
- ¥15 易盾点选的cb参数怎么解啊
- ¥15 MATLAB运行显示错误,如何解决?
- ¥15 c++头文件不能识别CDialog
- ¥15 Excel发现不可读取的内容
- ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题
- ¥20 yolov5自定义Prune报错,如何解决?