Subject Re: [IBO] IB_Grid - how to define propertiers of each column
Author Paul Vinkenoog
Hello Pedro,

> How to select which columns be visible (and which will be just-
> reading) in IB_Grid? How to define the properties of each column of
> IB_Grid?

The easiest way is to use the query editor. Double-click on your query
on the form to open it. Then choose the tab "Field Properties", where
you can set fields (in)visible, read-only, etc.
If you don't see all of the field names, prepare the query from within
the query editor (click yellow lightbulb).

BTW: Visible=false only means that you don't see the column
automatically in a grid; it doesn't affect the visibility in other
controls.

Use DisplayLabel to define the label that will optionally appear
alongside TIB_Edits. DisplayLabel is also used for grid column
headers, except where overridden by a GridLabel. (I think this
answers your other question.)

Also have a look at the tab "Column Attributes", where you can set
some more properties.

If you have several grids connected to the same query and you want
them to show different fields, use the grids' GridLinks properties.


Greetings,
Paul Vinkenoog