Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi fsBold in Style: CheckBox zuweisen (https://www.delphipraxis.net/21489-fsbold-style-checkbox-zuweisen.html)

yankee 3. Mai 2004 18:40


fsBold in Style: CheckBox zuweisen
 
Wieso geht das nicht:
Delphi-Quellcode:
    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;
an dem with-Teil liegts also nicht...

Die Muhkuh 3. Mai 2004 18:42

Re: fsBold in Style: CheckBox zuweisen
 
Kommt ne Fehlermeldung oder so?

yankee 3. Mai 2004 18:43

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 14:30 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz