[Lazarus] Is there aTDBLabel?

Michael Van Canneyt michael at freepascal.org
Thu Mar 10 10:04:45 CET 2016

On Thu, 10 Mar 2016, LacaK wrote:

>>> It works. But still I wonder, is there a another way? I've tried TDBText 
>>> but that shows th field value, not the DisplayLabel.
>> There is no standard control for it. But it should in fact be easy to add 
>> to
>> the LCL.
> I have used DB-aware version of TLabeledEdit.
> It is often the case that you use Label + Edit together.
> May be that having it in LCL will be also useful.

The advantage of a separate label is that you can use it for any control:
dbcombobox etc.

But the TDBLabeledEdit is obviously also useful, both approaches should be
used :)


More information about the Lazarus mailing list