Mega Code Archive

 
Categories / Delphi / Examples
 

Set ampersand in caption

Title: Set ampersand in caption To use ampersand in Delphi, you should write double symbol "&" in a string. For example: procedure TForm1.Button1Click(Sender: TObject); begin Button1.Caption:='Stay&&Run'; end;