Subject | Re: [IBO] Grids like TDataset is possible? |
---|---|
Author | Helen Borrie |
Post date | 2003-02-25T21:32:12Z |
At 07:14 PM 25/02/2003 +0000, you wrote:
flexible than the control-driven stuff that you have to do with TDBGrid.
You set the visual properties as attributes of the *data*,
column-by-column, in the Query Editor. The TIB_Grid draws itself to
conform with these attributes. There are many properties you can set -
including DisplayLabel, DisplayWidth, alignment and many more. The Visible
property defaults to True - just set it False for any columns you don't
want to display.
Double-click on the IB_Query component, and use the Fields and
ColumnAttributes to set these properties.You can alter these properties and
attributes at run-time, too.
You can also set up these characteristics in your connection component, so
that they will be used globally.
For details, study the help file.
Helen
>Hello!When you get used to TIB_Grid, you'll find that it is easier and more
>
>I am migrating an application entirely of the components based on
>TDataset (TIBO) for TIB_ even so one of the things that still made
>me to resist a little that change the easiness is owed of working
>with the grids TDataset.
>
>With TDBGrid it is enough me to define Datasource and to define
>which fields I want that appear, which the sequence that they should
>appear and the names of the fields that should appear, therefore not
>always the name of the field in the table is what is exhibited in
>TDBGrid.
>
>Because it can be my ignorance, but as to do that using TIB_Query
>and his Grids?
>
>To do the fields that I want to appear just and that the titles or
>headers are as I wanted, sample: FIELDCOD should appear Cod.
>
flexible than the control-driven stuff that you have to do with TDBGrid.
You set the visual properties as attributes of the *data*,
column-by-column, in the Query Editor. The TIB_Grid draws itself to
conform with these attributes. There are many properties you can set -
including DisplayLabel, DisplayWidth, alignment and many more. The Visible
property defaults to True - just set it False for any columns you don't
want to display.
Double-click on the IB_Query component, and use the Fields and
ColumnAttributes to set these properties.You can alter these properties and
attributes at run-time, too.
You can also set up these characteristics in your connection component, so
that they will be used globally.
For details, study the help file.
Helen