Subject | Re: Moving column in a grid |
---|---|
Author | Marco Menardi |
Post date | 2002-11-12T01:11:04Z |
IB_Grid? If you mean for "selected column" the active cell in the
grid, just use TIB_Query.FieldByName( 'THE_FIELD_YOU_WANT' ).FocusControl.
remember that with native controls, the visual controls are "dataset
driven", i.e. properties of datasets reflect directly into visual
controls behaviour.
best regards
Marco Menardi
grid, just use TIB_Query.FieldByName( 'THE_FIELD_YOU_WANT' ).FocusControl.
remember that with native controls, the visual controls are "dataset
driven", i.e. properties of datasets reflect directly into visual
controls behaviour.
best regards
Marco Menardi
--- In IBObjects@y..., "Ryan Nilsson-Harding" <nilsson@b...> wrote:
> Hi there,
>
> I'm trying to change the selected column in a grid, depending on
> what was entered for a previous column.
>
> I've played with .MoveCol(RawCol, Direction) but nothing seems to
> happen, and the help file has no expanded info on this proc.
>
> Is this the right proc to use, and how do I use RawCol & Direction
> correctly? (i.e. what do they mean?)
>
> Rgds,
> -Ryan