主题:  谁帮我解释一下好吗?

wt347

职务:普通成员
等级:1
金币:0.0
发贴:7
#12002/9/27 8:34:58
AddLinear(_BranchList,IconID@RootIcon ^", 0")
repeat while ListCount(_BranchList)>0
_ParentIcon:=GetNumber(1, _BranchList[1])
repeat with _ChildNum :=1 to IconNumChildren(_ParentIcon, GetNumber(2, _BranchList[1]))
_ChildIcon:=ChildNumToID(_ParentIcon,_ChildNum, GetNumber(2, _BranchList[1]))
if IconType(_ChildIcon) = 4 |=5 |=6 then
AddLinear(_BranchList,_ChildIcon ^", 0")
else if IconType(_ChildIcon) = 12 then
AddLinear(_BranchList,_ChildIcon ^", 0")
AddLinear(_BranchList,_ChildIcon ^", 1")
AddLinear(_BranchList,_ChildIcon ^", 2")
end if
Movable@_ChildIcon:=FALSE
end repeat
DeleteAtIndex(_BranchList, 1)
end repeat



与人同乐

职务:管理员
等级:6
金币:18.0
发贴:3928
#22002/9/27 10:05:21
对整个流程图进行遍历,将所有设计图标的MOVABLE属性设置为FALSE。