SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Set button multi-line caption

You may use SetWindowLong function with BS_MULTILINE parameter to set multi line caption of some button.

procedure TForm1.Button1Click(Sender: TObject);
  TempButton: LongInt;
  TempButton:=GetWindowLong(Button1.Handle, GWL_STYLE);
  SetWindowLong(Button1.Handle, GWL_STYLE, TempButton or BS_MULTILINE);
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes