Subject Set the readonly-flag to prevent from editing some fields in a IB_Grid
Author C.Stahlberger
Hi,

i would like to set readonly in a ib_grid for some fields like this:

for i := 0 to qryLagerBew.FieldCount - 1 do
begin
if ( ( qryLagerBew.Fields[i].FieldName <> 'LB_BUCHUNGSTEXT' )AND
( qryLagerBew.Fields[i].FieldName <> 'LB_VERP_MENGE' )AND
( qryLagerBew.Fields[i].FieldName <> 'LB_TEXT_INTERN' ) )
then qryLagerBew.Fields[i].ReadOnly := true;
end; // for i

this way isn't accept by Delphi5. how to do it?

Greetings / Thanks
Christian

[Non-text portions of this message have been removed]