Subject Re: [IBO] TIB_Grid - Making cells readonly
Author Jason Wharton
Use the ControlsReadOnly property of the columns and the OnGetCanModify
event of the dataset.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Geno " <strtline@...>
To: <IBObjects@egroups.com>
Sent: Tuesday, January 02, 2001 1:11 PM
Subject: [IBO] TIB_Grid - Making cells readonly


> Is there a way to make individual cells in the grid read only? Is
> there a way to make entire rows readonly? I have the need to prevent
> the user from editing certain cells and/or certain rows in the grid
> based on the underlying data. Tried using the Contacts example of
> how color and fonts can be customized on an individual basis but
> can't seem to make individual cells readonly.
>
> Here is what I need> Assume row has a descrition field with data
> of "reserved", I want to change the color of the entire row and also
> not allow user to modify that row. Assume description field has data
> of "system", I want to have certain columns (for that row) to be
> unmodifiable.
>
> Thanks.
>
>
>
>
>