🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by Cindy Jones Wed, 09 Dec 1998 00:00
Changing dbgrid labels at run-time
#1872
Author: Cindy Jones
Date: Wed, 09 Dec 1998 00:00
5 lines
822 bytes
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?
Re: Changing dbgrid labels at run-time
#1879
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads