🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1879

Re: Changing dbgrid labels at run-time

#1879
From: nikoly
Date: Mon, 21 Dec 1998 00:00
19 lines
1007 bytes

Cindy Jones <Cindy-Jones@llnl.gov> �������� � ������
<366EF9D3.ACBB1363@llnl.gov>...
> I'm changing the TField DisplayLabel in a dbgrid at runtime because the
> labels are in one of the database relations and aren't known until
> run-time.  The labels work who up perfectly but when I post a record
> update in the dbgrid the labels revert back to the original labels.  How
> can I fix this?
> 
> 

Hi Cindy
	
Try Use not a TField->DisplayLabel , but TColumn->Title->Caption.

Best regards
Nikoly
Nikolyv@usa.net
Technical Details
Message-ID: <01be2cf4$0cc91660$75c09ec2@intermec>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <366EF9D3.ACBB1363@llnl.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,c188aa29b9b62002
X-Google-Attributes: gidfcd2b,public
From: "nikoly" <nikolyv@usa.net>
Subject: Re: Changing dbgrid labels at run-time
Date: 1998/12/21
Message-ID: <01be2cf4$0cc91660$75c09ec2@intermec>
X-Deja-AN: 424508469
References: <366EF9D3.ACBB1363@llnl.gov>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.cppbuilder.database.multi-tier