实在不行,告诉你一个笨方法:在需要现实*的cell中放一个显示密码的edit,visible属性设为false。
当点击那个cell时,响应OnCellClick消息,使其visible 属性改成true。
procedure TForm1.DBGrid1CellClick(Column: TColumn);
begin
if column.field.value:=aa;//aa为此cell的值。
passedit.visible:=true;
....end;
当点击那个cell时,响应OnCellClick消息,使其visible 属性改成true。
procedure TForm1.DBGrid1CellClick(Column: TColumn);
begin
if column.field.value:=aa;//aa为此cell的值。
passedit.visible:=true;
....end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货