Table of Contents

Getting Started with TMS FNC Font Picker

Use TTMSFNCFontNamePicker and TTMSFNCFontSizePicker when users should choose font values inline instead of opening a font dialog.

Create Font Pickers

  1. Drop TTMSFNCFontNamePicker and TTMSFNCFontSizePicker on the form.
  2. Set SelectedFontName and SelectedFontSize for initial values.
  3. Handle the selection events to apply the chosen values.
TMSFNCFontNamePicker1.SelectedFontName := 'Arial';
TMSFNCFontNamePicker1.OnFontNameSelected := TMSFNCFontNamePicker1FontNameSelected;

TMSFNCFontSizePicker1.SelectedFontSize := 12;
TMSFNCFontSizePicker1.OnFontSizeSelected := TMSFNCFontSizePicker1FontSizeSelected;

Next Steps

Task Guide
Select font names and sizes inline Font name and size pickers
Customize the available font size list Font name and size pickers