[Lazarus] question re tdblookupcombobox

Flávio Etrusco flavio.etrusco at gmail.com
Sat May 4 21:21:18 CEST 2024


You could try:
  TComboBox(DBLookupComboBox1).ItemWidth:=200;

It should be OK since ItemWidth is implemented in TCustomComboBox. If it
indeed works without problems, you should probably create a ticket to make
that property published.

Regards,
Flávio


Em sex., 3 de mai. de 2024 às 12:15, duilio foschi via lazarus <
lazarus at lists.lazarus-ide.org> escreveu:

> the string to display on screen (property DataField) is short.
>
> The strings that are listed for selection (field ListField) are wide.
>
> I would like to have the control width = 66 pixels and the drop-down list
> width = 200 pixels.
>
> Is there a way to get this behaviour?
>
> Right now, the drop-down list is 66 pixels and as a result the strings in
> the list are truncated...very ugly.
>
> Thank you
>
> Peppe
>
>
>
>
> --
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240504/05e1c9fb/attachment.htm>


More information about the lazarus mailing list