![]() |
fsBold in Style: CheckBox zuweisen
Wieso geht das nicht:
Delphi-Quellcode:
an dem with-Teil liegts also nicht...
with TSynCustomHighlighter(FindComponent(StringToHighlighterCpName(ConfForm.HighlighterCombo.Text))).Attribute[confForm.AttriList.ItemIndex] do
begin //Das geht: ConfForm.ForePanel.Color :=Foreground; ConfForm.backPanel.Color :=Background; //Das geht nicht: ConfForm.CheckBox2.Checked :=fsBold in Style; ConfForm.CheckBox3.Checked :=fsItalic in Style; ConfForm.CheckBox4.Checked :=fsUnderline in Style; ConfForm.CheckBox5.Checked :=fsStrikeOut in Style; end; |
Re: fsBold in Style: CheckBox zuweisen
Kommt ne Fehlermeldung oder so?
|
Re: fsBold in Style: CheckBox zuweisen
nein, keine Fehlermeldung.
EDIT: Es ist auch nicht so, als würde sich garnichts tun. Aber ich habe das Gefühl, dass die Checkboxen willkürlich gesetzt werden... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:26 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