1,定义公共树节点node——select andselect_index,用来保存当前选中节点 casecadechecks设为false 2.方法如下 stateindex = 1代表没选中,stateindex = 2,代表选中 tree_checker.ItemState[i] := csUnknown代表没有选择框。 procedure Tfrm_w_c
方法一 1,添加单元文件cxCheckBox,窗体添加clientDataset,datasource,adoquery,cxgrid 2,添加类声明type TCheckBoxClickEvent=procedure(Sender: TObject) of object;type TCheckBoxClick = class(TObject)&nb
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号