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 :)
Michael.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus