delphi valuelisteditor控件的使用
| 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控件的使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【2016年第1期】山东省农业大数据发展
- 下一篇: 兼容IE和FF的js脚本做法(比较常用)