Table of Contents

Getting Started with TMS FNC Control Picker

Use TTMSFNCControlPicker when a picker field should open a custom control as its drop-down content.

Create a Control Picker

  1. Drop TTMSFNCControlPicker on the form.
  2. Assign the control that should be shown in the drop-down to Control.
  3. Set drop-down width and height options.
  4. Handle OnSetContent or OnItemSelected when the picker text should follow the embedded control.
TMSFNCControlPicker1.Control := TMSFNCTreeView1;
TMSFNCControlPicker1.DropDownControlWidth := 280;
TMSFNCControlPicker1.DropDownControlHeight := 220;
TMSFNCControlPicker1.OnSetContent := TMSFNCControlPicker1SetContent;
TMSFNCControlPicker1.OnItemSelected := TMSFNCControlPicker1ItemSelected;

Next Steps

Task Guide
Embed a custom control and size the drop-down Embedded control
Synchronize picker text with embedded selection Embedded control