比如我想在程序运行时设置DrawGrid1: TDrawGrid;控件的Option里的goRangeSelect项为FALSE.(用Object Inspector很容易)
DrawGrid1.Options.goRangeSelect:=FALSE;
编译出错,应该怎样写?