Form1.cxLookupComboBox1.Properties.Grid.BeginUpdate;
    Form1.cxLookupComboBox1.Properties.Grid.DataController.RecordCount := 5;
    Form1.cxLookupComboBox1.Properties.Grid.DataController.Values[1,0]:= '11111';
    Form1.cxLookupComboBox1.Properties.Grid.DataController.Values[1,1]:= '22222';
    Form1.cxLookupComboBox1.Properties.Grid.EndUpdate;列表是有了,可没有数据.请各位指点一下,还是不能这样用?谢谢!

解决方案 »

  1.   

    Developer Express  控件中的应该很有名的.而且很使用,是在combobox下拉中实现现了一个Grid, 可以显示多列.那位用过指点一下.
      

  2.   

    要下拉出Grid, 用PopupEdit不是更好吗?
      

  3.   

    我的做法是把那个listsource的dataset加入这个值,再requery,下拉表就有了
      

  4.   

    to jiangguan(唐僧) ,谢谢,第一次用,能说得具体些吗?
      

  5.   

    properties->ListSource,KeyFieldName,ListFieldName