Skip to main content
Table of Contents

TTMSFNCLabelEdit.AcceptButtonStroke Property

Stroke style used to draw the accept (checkmark) button.

API unit family: TMSFNCLabelEdit Declaring type: TTMSFNCLabelEdit Inherited from: TTMSFNCCustomLabelEdit Type: TTMSFNCGraphicsStroke

Syntax

FMX.TMSFNCLabelEdit.hppPascalC++
property AcceptButtonStroke: TTMSFNCGraphicsStroke;
__property TTMSFNCGraphicsStroke* AcceptButtonStroke = {read=FAcceptButtonStroke, write=SetAcceptButtonStroke};

Usage examples

Style edit buttons

Assigns shared bitmaps and button stroke colors.

Style edit buttonsPascalC++
procedure TForm1.ConfigureLabelEditButtons;
begin
  TMSFNCLabelEdit1.BitmapContainer := TMSFNCBitmapContainer1;
  TMSFNCLabelEdit1.AcceptButtonStroke.Color := gcGreen;
  TMSFNCLabelEdit1.CancelButtonStroke.Color := gcRed;
end;

void __fastcall TForm1::ConfigureLabelEditButtons()
{
  TMSFNCLabelEdit1->BitmapContainer = TMSFNCBitmapContainer1;
  TMSFNCLabelEdit1->AcceptButtonStroke->Color = gcGreen;
  TMSFNCLabelEdit1->CancelButtonStroke->Color = gcRed;
}

Read the related guide