ADD OBJECT selectgroup.cgrid1.column1.cgridtextbox1 AS cgridtextbox WITH ; FontSize = 8, ; ReadOnly = .T., ; SelectedForeColor = RGB(255,255,255), ; SelectedBackColor = RGB(0,0,255), ; Name = "Cgridtextbox1"And in my code, where it doesn't work, I see:
ADD OBJECT frminvestigatorqueuemgt.grdqueuemgmt.column1.cgridtextbox1 AS cgridtextbox WITH ; FontSize = 8, ; ReadOnly = .T., ; Name = "Cgridtextbox1"E.g. it looks like I have to set SelectedForeColor and SelectedBackColor properties in the class level.