DBGrid1.Columns[i].ButtonStyle:=cbsEllipsis 然后在DbGrid.oneditButtonClick(Sender:TObject)中在写入相应的代码; 按钮在运行时,才会出现.