Click to See Complete Forum and Search --> : How can I change Title for each columns in DBGrid


regis
January 24th, 2000, 08:08 AM
Do you know how can I change column title in DBGrid. I try with DBGrig1.Columns(1).Title = "New" but I received this error "Object doesn't support this property or method"

Who can help me.
Thanks.
Redg

Aaron Young
January 24th, 2000, 01:59 PM
The Property you want is Caption, not Title, ie.

DBGrid1.Columns(1).Caption = "New"

Aaron Young
Analyst Programmer
ajyoung@pressenter.com
aarony@redwingsoftware.com