常规参数
文章标题:
权重:
文章摘要:
如何设置一个按钮用有多行Caption?procedure TForm1.Button1Click(Sender: TObject);vari: Integer;begini := GetWindowLong(Button1.Handle, GWL_STYLE);SetWindowLong(Button1.Handle, GWL_STYLE, i or BS_MULTILINE);Button1.Caption := 'Line1' + #13#10 + 'Line2
关键字:
按钮 GWL_STYLE Button1.Handle Line1 #13#10 Button1.Caption
管理密码: