Table of Contents

Getting Started with TMS FNC Fill Kind Picker

Use TTMSFNCFillKindPicker when users need to choose a graphics fill kind such as none, solid, or gradient.

Create a Fill Kind Picker

  1. Drop TTMSFNCFillKindPicker on the form.
  2. Set SelectedFillKind for the initial value.
  3. Configure the drop-down size when the selector needs more room.
  4. Handle OnFillKindSelected to apply the selected fill kind.
TMSFNCFillKindPicker1.SelectedFillKind := gfkSolid;
TMSFNCFillKindPicker1.CloseOnSelection := True;
TMSFNCFillKindPicker1.DropDownWidth := 160;
TMSFNCFillKindPicker1.DropDownHeight := 140;
TMSFNCFillKindPicker1.OnFillKindSelected := TMSFNCFillKindPicker1FillKindSelected;

Next Steps

Task Guide
Configure fill kinds and apply selection Fill kind selection
Use the selector directly Fill kind selection