Getting Started with TMS FNC Check Box
Use TTMSFNCCheckBox to present a Boolean option with HTML-capable text and optional custom widget images.
Prerequisites
- Delphi with TMS FNC UI Pack installed.
- A new or existing VCL, FMX, or WEB application.
Configure a Check Box
- Drop a
TTMSFNCCheckBoxonto a form. - Set
Text. - Set or read
Checked. - Handle
OnChangewhen the option changes.
procedure TForm1.ConfigureCheckBox;
begin
TMSFNCCheckBox1.Text := 'Enable notifications';
TMSFNCCheckBox1.Checked := True;
TMSFNCCheckBox1.OnChange := TMSFNCCheckBox1Change;
end;
procedure TForm1.TMSFNCCheckBox1Change(Sender: TObject);
begin
TMSFNCBadge1.Visible := TMSFNCCheckBox1.Checked;
end;