I am trying to restrict access to a limited number of controls contained in a grid depending on the state of the containing form. Some of the cnotained columns shouldn't be accessible/modifiable while others should be.
Even though I set the ENABLED property of the column and the textbox to .f., I can still edit the information in the field.
this.Parent.grdpoline.grid.column1.text1.Enabled = .f.
This.Parent.grdpoline.grid.column1.txtinventorylu1.Enabled = .f.
this.Parent.grdpoline.grid.column2.text1.Enabled = .f.
this.Parent.grdpoline.grid.column3.txtQtyOrd.Enabled = .f.
this.Parent.grdpoline.grid.column4.txtDescription.Enabled = .f.
What am I doing wrong?
Thanks in advance,
Andrew
On a CLEAR day you can see forever.