(Cocoa) TListBox.font property is ignored if Style = lbStandard
Original Reporter info from Mantis: Blake
-
Reporter name: Blake
Original Reporter info from Mantis: Blake
- Reporter name: Blake
Description:
Nothing happens when setting the font of a TListBox, either at runtime or design time.
The work-around is to set the Style to lbOwnerDrawFixed. It is not necessary to assign OnDrawItem, just set the Style property.
The attached project demonstrates assigning listbox1.font.name with lbStandard, and lbOwnerDrawFixed.
Mantis conversion info:
- Mantis ID: 36004
- OS: macOS
- OS Build: 10.14.6
- Build: 61756
- Platform: Darwin
- Version: 2.1 (SVN)