Getting Started with TMS FNC Analog Time Picker
Use TTMSFNCAnalogTimePicker when a form needs a compact time input with a drop-down clock selector.
Prerequisites
- Delphi with TMS FNC UI Pack installed.
- A new or existing VCL, FMX, or WEB application.
Configure the Picker
- Drop a
TTMSFNCAnalogTimePickeronto a form. - Set
SelectedTimeto the initial value. - Set
TimeFormatto control the text shown in the edit area. - Handle
OnTimeSelectedwhen the selected time drives other form state.
procedure TForm1.ConfigureAnalogTimePicker;
begin
TMSFNCAnalogTimePicker1.SelectedTime := EncodeTime(9, 30, 0, 0);
TMSFNCAnalogTimePicker1.TimeFormat := 'hh:nn';
TMSFNCAnalogTimePicker1.DropDownWidth := 260;
TMSFNCAnalogTimePicker1.DropDownHeight := 260;
end;