if Col mod 2 = 0 thengrd.Options := grd.Options + [goEditing]elsegrd.Options := grd.Options - [goEditing];