怎样在StringGrid中实现CTRL+A全选功能? 我本想在KeyDown中,设定selection.top,selection.top,发现它们不能放在:=的左边。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 StringGrid OnKeyDown = you Function var myRect: TGridRect;begin myRect.Left := 4; MyRect.Top := 1; MyRect.Right := 1; MyRect.Bottom := 4; if (ssCtrl in Shift) and (Key = Word('A')) then begin StringGrid1.Selection := myRect; end;end; Dll子窗体的快捷键了全部失灵了,如何处理的 delphi如何获取数据库中某个字段特定的值? delphi StringGrid输入自动显示问题。高手入!! TClientDataSet组件除了用SQL语句插入数据,还有没有其他方法。(急!) ★★★如果区分一个变量指向的是TObject还是一个record 请问安装SQL2000的问题。 求sql排序语句(降序) 请教关于mx邮件发送! 请问哪有关于Delphi6的书下载? 如何改变InfoPower3000控件包中的wwDataInspector控件的字体大小??? Delphi的Code Exployer作得太差! 大家看看错在那呀
myRect: TGridRect;
begin
myRect.Left := 4;
MyRect.Top := 1;
MyRect.Right := 1;
MyRect.Bottom := 4;
if (ssCtrl in Shift) and (Key = Word('A')) then
begin
StringGrid1.Selection := myRect;
end;
end;