EDITABLE property in MatrixBox at runtime

Hi. I need to change a MatrixBox editable property at run time so like this OnOpenForm … CurrForm.Matrix.editable( false ); … This doesn’t compile and say editable is not a var … How can I do this ? Thanx. Please, reply too to cnovo@icasociados.com

Impossible. This property available only in design-time.

Oh … Thank you, Alexei. Then I must put matrix box in a subform …

You can set editable to control used in MatrixBox. e.g. if MatrixBox SourceExpr is “Amount” you can dinamically set: CurrForm.“Amount”.EDITABLE := enable; That will make data in right panel of the MatrixBox editable or not.