|
| grid |
 |
Wed, 09 Apr 2008 11:45:00 -040 |
|
| Post Reply
|
| Re: grid |
 |
Wed, 9 Apr 2008 11:55:54 -0400 |
Maybe if you return false in the canChange event for each field datalinked
to the grid ? Never tried it, but it's worth a try.
Marc Hamelin
charles wrote:
> can you keep a grid enabled, but make it so you can't edit the rows
> or records ?
|
| Post Reply
|
| Re: grid |
 |
Wed, 9 Apr 2008 11:58:06 -0400 |
Also, maybe you could set the Key event of each column's editorControl to
return false, but someone could still copy/paste text into the cell
however...
Marc Hamelin
Marc Hamelin wrote:
> Maybe if you return false in the canChange event for each field
> datalinked to the grid ? Never tried it, but it's worth a try.
>
> Marc Hamelin
>
> charles wrote:
>> can you keep a grid enabled, but make it so you can't edit the rows
>> or records ?
|
| Post Reply
|
| Re: grid |
 |
Wed, 9 Apr 2008 12:56:46 -0700 |
"charles" <guitarbluescharlie@yahoo.com> wrote in message
news:xH6xrilmIHA.1880@news-server...
> can you keep a grid enabled, but make it so you can't edit the rows or
> records ?
In addition to the other suggestions and depending on the use of your form.
You can make the fields that are linked to your Grid readOnly, if you drill
into the rowset.fields collection for each field you can change it.
Greg Hill
|
| Post Reply
|
| Re: grid |
 |
Wed, 09 Apr 2008 13:25:01 -040 |
allowEditing := false
allowAddRows := false
Roger
charles Wrote:
> can you keep a grid enabled, but make it so you can't edit the rows or
records ?
|
| Post Reply
|
|
|
|
|
|
|
|
|
|