try to set the Enabled property of the COLUMN itself to .f.
Other way is to put the code in When event of the TextBox that will returns .f. under some conditions.
>When i changed the enabled property on a grid control, I can not access any of the columns or textboxes on the grid. However if the grid is enabled and I changed the enabled status of say the textbox of a column, I can access the textbox but not change it - the textbox has the focus and you can see the blue line around the box.
>
>How can I get the textbox or column in a grid, so that it behaves the same as when the whole grids enabled status is false. When I click on it I dont want it to get the focus?
>
>Thanks in advance
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.