>How about:
>
>do the diabling and then do a,
>
ThisForm.Grid1.SetAll("DynamicBackColor", "RGB(255,0,0)", "Column")
>ThisForm.Grid1.SetAll("backColor", RGB(255,0,0), "Textbox")
>
>you could replace the rgb(255,0,0) with the actual disabledBackColor that is being used.
OK, now that I try it, BackColor works, too. It seems I had only tried disabling the column and changing the BackColor of the TextBoxes, but not the BackColor of the Columns.
The color of the SELECTED control is irrelevant, since the entire grid will be disabled. The idea is to disable the record-selection-grid while the user is editing some record.
Thanks.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)