1.获取valuelisteditor的value的值: str := valuelisteditor.value['top']; top为key的内容。 2. 获取valuelisteditor的key值: str:=valuelisteditor.key[0]; 获取第0 个key值。 3.插入一行数据 valuelisteditor.InsertRow('pp','pp1',true); 4. 删除一行数据 ValueListEditor1.DeleteRow(2); 5.如何选择行列 6.ValueListEditor,用string.clean清除! 7.一个key值,多个value. procedure TForm1.ValueListEditor1GetPickList(Sender: TObject; 另一个方法 ValueListEditor1.ItemProps[0].PickList.Add('a1'); 第三种方法: Index := ValueListEditor1.InsertRow('Size', '9', True); 8。加入。。按钮 Index := ValueListEditor1.InsertRow('Color', 'clRed', True); procedure TForm1.ValueListEditor1EditButtonClick(Sender: TObject); |
delphi valuelisteditor控件的使用
最新推荐文章于 2024-04-28 15:43:43 发布
delphi valuelisteditor控件的使用
2010-04-21 16:49