L LUOQIONG Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-16 #1 如何实现在stringgrid中控制每一列的权限,如:stringgrid 中有五列,我想只让第三、第四列可让用户有更改的权限,其他列不允许修改,如何实现?
L Lambert Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-16 #3 procedure TForm1.StringGrid1.OnKeyPress(Sender: TObject; var Key: Char); Begin if (StringGrid1.Col in [0,1,4]) then Key=#0; End;
procedure TForm1.StringGrid1.OnKeyPress(Sender: TObject; var Key: Char); Begin if (StringGrid1.Col in [0,1,4]) then Key=#0; End;