Jump to content


Photo

Change the Header Caption


  • Please log in to reply
3 replies to this topic

#1 Pit

Pit
  • Members
  • 4 posts

Posted 14 February 2005 - 09:34 PM

Hello,
many thanks for your support.

A new Problem:
How can i change then header caption and the Font on runtime?

#2 MasterEvil

MasterEvil
  • Members
  • 104 posts
  • Location:Germany

Posted 14 February 2005 - 09:53 PM

you just need to get to your columns properties.
the 0 there is the first column

GridView1.Columns[0].Header.Caption := 'text';
GridView1.Columns[0].Font := Form1.Font;

greetz
Steffen

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 14 February 2005 - 10:18 PM

Hello Steffen,

Thank you for your help smile.gif

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 MasterEvil

MasterEvil
  • Members
  • 104 posts
  • Location:Germany

Posted 14 February 2005 - 10:38 PM

no problem wink.gif
I like it here biggrin.gif

greetz
Steffen




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users