SilverpointDev / sptbxlib

SpTBXLib is an expansion package for TB2K Delphi components that adds multiple features including support for styles and custom skins.
https://www.silverpointdevelopment.com
Other
72 stars 33 forks source link

Add filter options to TSpTBXFontComboBox #78

Closed pyscripter closed 3 years ago

pyscripter commented 3 years ago

In https://github.com/pyscripter/SpTBXLib/blob/master/Source/SpTBXExtEditors.pas I have added a FilterOptions property to TSpTBXFontComboBox.

  TSpTBXFontFilterOption = (ffScalableOnly, ffFixedPitchOnly);
  TSpTBXFontFilterOptions = set of TSpTBXFontFilterOption;

It would be nice if you could add the above to your repo.

SilverpointDev commented 3 years ago

Ok, I added FilterFontPitch and FilterFontType properties to filter the font list.

pyscripter commented 3 years ago

Thanks!