Recent

Author Topic: dbCombobox properties at run time  (Read 189 times)

MSC

  • Jr. Member
  • **
  • Posts: 55
dbCombobox properties at run time
« on: November 19, 2025, 05:57:32 pm »
Hey,
I want the components on my forms for database data entry to have all the same look and feel, eg. size, color, alignment,
enabled and others.
So I put some blanc components (e.g. DBEdit, DBMemo, DBCombobox etc.) somewhere on a panel and set the properties
for each type of components at run time.
For all components this is working very good, except for DBCombobox, which doesn't react at all. I can set those properties
at design time, but thats not what I want.

My questions:
 - Are there any problems known regarding this behavior of DBCombobox?
 - Do I have to set some (hidden) properties at design time?

Regards Michael

I'm on Window12, 64bit, Lazarus 4.4

I found a reason why DBCombobox disappeared from Panel at run time:
- if DBCombobox.Font.Size and/or DBCombobox.Font.Height are set at run time, they disapeared from panel.
  Looks like some dimensions are set to zero.
  This seems to be a bug.
« Last Edit: November 20, 2025, 06:23:40 pm by MSC »

 

TinyPortal © 2005-2018