Subject | [IBO] Re: Prevent grid from getting into "edit" mode |
---|---|
Author | Mihai Chezan |
Post date | 2004-07-22T23:00:35Z |
--- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@i...>
wrote:
cell or press enter the caret will appear (the cell will enter into
edit mode). You can't edit it but the caret will apear. What Daniel
asked was a way for this to not happen:
"The user can still press Return (or click into the cell) and get
into edit mode, with no icon, but an binking cursor and an empty
field."
And because he used a calculated field I believe that readonly or
noedit would have no effect as a calculated field is by its nature
readonly.
Of course I could be wrong.
wrote:
> Just set the field itself to ReadOnly or NOEDIT in theFieldsReadOnly
> property of the dataset.I'm sory to disagree but if you do that then when you double click the
>
> Jason Wharton
cell or press enter the caret will appear (the cell will enter into
edit mode). You can't edit it but the caret will apear. What Daniel
asked was a way for this to not happen:
"The user can still press Return (or click into the cell) and get
into edit mode, with no icon, but an binking cursor and an empty
field."
And because he used a calculated field I believe that readonly or
noedit would have no effect as a calculated field is by its nature
readonly.
Of course I could be wrong.