Subject | Re: [IBO] IB_Grid / FieldVisible |
---|---|
Author | Lucas Franzen |
Post date | 2003-02-24T22:17:20Z |
Alan,
I think that DisableControls is appropriate when moving through a
dataset without refreshing the grid by every move.
Maybe you can get away better with setting the DataSet property of the
IB_Grid to NIL, do your changes, then reassiging the DataSet property
(but I haven't tested that).
By the way:
Why don't you just use the GridLinks property, just adding the fields
that ARE visible, so you don't have to fiddle around with
FieldsVisible=FALSE.
And by using the CommaText property of the underlying TIBOStringList you
can easily assign (and save) it in one line of code.
Luc.
I think that DisableControls is appropriate when moving through a
dataset without refreshing the grid by every move.
Maybe you can get away better with setting the DataSet property of the
IB_Grid to NIL, do your changes, then reassiging the DataSet property
(but I haven't tested that).
By the way:
Why don't you just use the GridLinks property, just adding the fields
that ARE visible, so you don't have to fiddle around with
FieldsVisible=FALSE.
And by using the CommaText property of the underlying TIBOStringList you
can easily assign (and save) it in one line of code.
Luc.