Subject | Re: Prevent grid from getting into "edit" mode |
---|---|
Author | Mihai Chezan |
Post date | 2004-07-22T15:53:19Z |
--- In IBObjects@yahoogroups.com, Daniel Albuschat <daniel@v...>
with GridXXX do
if GridFields[DataCol[ACol]].FieldName = 'your field name') then
....
> There pops up another question: I've inserted a constant forreplace the if ACol = your_column with:
> your_column so far, but this of course may be variable since
> the user can change the order of the columns in the grid.
> In my example, the user can take a column with some text in it,
> drag it to the position where the icon was first, and the icon
> will be drawn over the text.
> Is there an event I can jump in to recognize the change of column
> ordering?
with GridXXX do
if GridFields[DataCol[ACol]].FieldName = 'your field name') then
....