Forum > LCL
Font color DBLookupComboBox
theo:
--- Quote from: JanRoza on August 22, 2010, 08:15:05 pm ---Still no one any ideas or suggestions?
--- End quote ---
Suggestion 1: Leave the color as it is like all professionial software does.
Suggention 2: Use OnDrawItem event to paint it yourself (Set Style to csOwnerDrawFixed)
JanRoza:
Even professional software uses colored fonts when it's functional so suggestion #1 is not an option. I think having two colors in one component is what look unprofessional.
Suggestion #2 is worth trying so I'll go that way.
Still I think that selecting a font color in a component should do what it is supposed to do for the whole component and not just half. A workaround should not be necessary.
The component I use in Delphi works correctly, so I expected the corresponding component in Lazarus to do the same.
Is it not a bug if the box font does change color and the dropdown font doesn't?
I know it's just a minor snag but in a program as good and professional as Lazarus there should be as little snags as possible.
theo:
--- Quote from: JanRoza on August 22, 2010, 11:35:12 pm ---Still I think that selecting a font color in a component should do what it is supposed to do for the whole component and not just half. A workaround should not be necessary.
--- End quote ---
You could implement this feature and create a patch for the LCL.
Please test on all supported widget sets.
http://wiki.lazarus.freepascal.org/Creating_A_Patch
Navigation
[0] Message Index
[*] Previous page