Subject | Re: [IBO] Altering Column Headers: Q. & Suggested enhancement |
---|---|
Author | Frank Ingermann |
Post date | 2002-08-22T19:33:16Z |
Hi Raymond,
Raymond Kennington wrote:
connection level won't get you far - you could put a default value in there
(FieldsGridLabel with entries like "MYTABLE.MYCOLUMN=My Title") however.
the options file (or a blob column in the gdb itself) - it's just a plain
TStrings descendant.
(changing lines in the property will directly reflect in your grid)
fingerman
--
-------------------------------------------------------------------------
when parsers parse, and compilers compile, then why don't objects object?
fingerbirdy - fingerman's door to Firebird
http://www.fingerbird.de
Raymond Kennington wrote:
> Is it possible to dynamically alter column headers via the connection component?if they can be different for different forms, then setting it up at the
>
> If so, is it necessary to close the connection first for the change(s) to take effect?
>
> In my app each user can set the header for several columns to whatever they want and these
> could be different for different forms. An options file will store the headers for each
> table used on each form.
connection level won't get you far - you could put a default value in there
(FieldsGridLabel with entries like "MYTABLE.MYCOLUMN=My Title") however.
> Requested enhancement:i'd go for loading the FieldsGridLabel prop of the Query on each FormCreate from
>
> IB_Connection1.SetColumnName(const TableName : String; const ColumnName : String);
>
> with an exception raised if either name DNE.
>
> Every time a new form opens I will have to update the headers.
the options file (or a blob column in the gdb itself) - it's just a plain
TStrings descendant.
(changing lines in the property will directly reflect in your grid)
> Raymond Kenningtonhth,
fingerman
--
-------------------------------------------------------------------------
when parsers parse, and compilers compile, then why don't objects object?
fingerbirdy - fingerman's door to Firebird
http://www.fingerbird.de