Skip to content

TMSFNCStrokeKindSelector / TMSFNCStrokeKindPicker

TTMSFNCUIPack110

The TMSFNCStrokeKindSelector and TMSFNCStrokeKindPicker are components that display a list of TMSFNCGraphicsStrokeKind values. You can select a stroke kind by implementing the OnStrokeKindSelected event and/or programmatically retrieving the selected stroke kind with the TMSFNCStrokeKindSelector.SelectedStrokeKind or TMSFNCStrokeKindPicker.SelectedStrokeKind property.

procedure TForm1.TMSFNCStrokeKindPicker1StrokeKindSelected(Sender: TObject;
 AStrokeKind: TTMSFNCGraphicsStrokeKind);
begin
 TMSFNCPanel2.Stroke.Kind := AStrokeKind;
end;

procedure TForm1.TMSFNCStrokeKindSelector1StrokeKindSelected(Sender: TObject;
 AStrokeKind: TTMSFNCGraphicsStrokeKind);
begin
 TMSFNCPanel1.Stroke.Kind := AStrokeKind;
end;