Subject | Re: [IBO] TDBGrid property and methods in TIB_Grid. |
---|---|
Author | Mirko's |
Post date | 2002-08-26T15:15:48Z |
> in IBO this is done at the Query level (data), not the Grid (display).Have a
> look at the various FieldsXXX properties for TIB_Queries, it's all inthere:
> - FieldsAlignment (put in 'FIELD1=left')thank you for help me,
> - FieldsGridLabel (put in 'FIELD1=Height')
> - FieldsDisplayWidth (put in 'FIELD1=200')
I look the IBO help for Fieldxxx property but I don't understand exactly
what I have to write to do by code what you say, I tried with:
TIB_Query1.FieldsAlignment('FIELD1=R');
or
TIB_Query1.FieldsAlignment.clear;
TIB_Query1.FieldsAlignment.Add('QUANTITA=R');
and much more version but nothing.
Can you show me the exact code to write?
Mirko
ps.I don't fount a property to change the color of a column like this:
Grid1.Columns[0].Color := ClYellow;