![]() |
Text einer CheckBox mehrzeilig darstellen...
Delphi-Quellcode:
Aufruf mit:
procedure MultiLineCheckBox(theControl: TWinControl);
var dwStyle: Longint; begin dwStyle := GetWindowLong(theControl.handle, GWL_STYLE) or BS_MULTILINE; SetWindowLong(theControl.Handle, GWL_STYLE, dwStyle); end;
Delphi-Quellcode:
Grüsse, Daniel :hi:
procedure TForm1.Button1Click(Sender: TObject);
begin MultiLineCheckBox(Checkbox1); CheckBox1.Caption := 'Hick' + #13#10 + 'Hack' + #13#10 + 'Huck'; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:11 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz