开发者

Delphi, String Grid is not selectable, How to make it selectable to select Row or Col?

开发者 https://www.devze.com 2023-03-11 03:30 出处:网络
I am having a StringGrid in Delphi 5 of fixed rows and Fixed Cols. But at run mode I am not able to select any row or any cell.

I am having a StringGrid in Delphi 5 of fixed rows and Fixed Cols. But at run mode I am not able to select any row or any cell.

How and what is the property that allow me to make String Row or cel开发者_Go百科l selectable.


You cannot select fixed rows and columns and that is intended behaviour as this is normally not wanted. Is there any reason you have these rows and columns fixed?


Take a look at the TStringGrid.Options property at design time. These have not changed much over the years and they are nearly all set to False. particularly: goEditing, goRowSelect.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号