Q: userdefined headertext in TDBGrid

Q: userdefined headertext in TDBGrid

Post by AF436A4 » Wed, 19 Jun 1996 04:00:00



Is there a way to change the headertext of a column in a TDBGrid to
a userdefinded Text?

Ben from Aachen, the raincity of Germany

 
 
 

Q: userdefined headertext in TDBGrid

Post by Thomas Pa » Thu, 20 Jun 1996 04:00:00



>Is there a way to change the headertext of a column in a TDBGrid to
>a userdefinded Text?

The header text of the Grid comes from the DisplayLabel property of
the underlying field.  So... you instantiate the field by double
clicking on your TQuery or TTable object thereby creating a
TFloatField, TStringField, etc.  Then change the DiplayLabel of that
field to whatever you like.  You can also change several other
properties that affct how the field is displayed in the Grid.  If you
change the property Visible to False, the field won't display in the
Grid at all!  It will still display in a TDBEdit, however.
-------------------------------
Thomas Paul

Dean Witter, Discover & Co.
New York City, NY USA
----------------------------------

 
 
 

Q: userdefined headertext in TDBGrid

Post by F.J. Boteller » Fri, 21 Jun 1996 04:00:00



> Is there a way to change the headertext of a column in a TDBGrid to
> a userdefinded Text?

> Ben from Aachen, the raincity of Germany

You must add a TField component for this column (whith the Field editor), then using the
object inspector chose this TField component and change the propertie 'DisplayText'
to your text.

F.J. Botellero

 
 
 

Q: userdefined headertext in TDBGrid

Post by Lawrence Karthause » Tue, 09 Jul 1996 04:00:00


Use the fields editor in the IDE, for the accociated table. Change the
display text in the Object insp

 
 
 

1. Databinding Headertext Templatecolumn

Hi everybody,

Is it possible to bind data into the headertext property
of a templatecolumn ?
I tried this code but it doesn't work !
<asp:TemplateColumn  HeaderText=<% GetHeaderText() %>
SortExpression="TIT_Title_F">

Here's the simplified code-behind method:
protected string GetHeaderText()
{
return "Description Fr";

2. Connection string for XML Bulk Load Object

3. How to get the List of UserDefined Stored Procedures Alone

4. ODBC Driver under Windows NT 3.5??

5. userdefined function or stored procedure

6. pgsql/src/test/regress (pg_regress.sh)

7. How to get the List of UserDefined Stored Procedures Alone

8. Can you access Visual Foxpro Views via ODBC

9. Userdefined function in a SQL query

10. Problem by userdefined role **

11. SummaryInfo & UserDefined document container

12. how to use userdefined datatype in UDF?

13. userdefined functions: how to execute a select query