Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Probleme mit TQRPGrid von QRPowerPack, Bold-Schriften (https://www.delphipraxis.net/57625-probleme-mit-tqrpgrid-von-qrpowerpack-bold-schriften.html)

EccoBravo 24. Nov 2005 10:48


Probleme mit TQRPGrid von QRPowerPack, Bold-Schriften
 
Hallo,

Habe Probleme mit TQRPGrid von QRPowerPack (BD7 Enterprise).
Wenn ich im Context die Schriftdicke ändern möchte gibt es Compilerfehler.

Beislpiel

Delphi-Quellcode:
1000   QRPG_Feld.Cells[i,28].Caption := sWert1;
1001   QRPG_Feld.Cells[i,28].Caption := sWert2;
1002   QRPG_Feld.Cells[i,28].Caption := sWert3;
1003   QRPG_Feld.Cells[i,28].Caption := sWert4;
1004   QRPG_Feld.Cells[i,28].Font.Style:fsBold;
1005   QRPG_Feld.Cells[i,28].Caption := sWert5;
1006   QRPG_Feld.Cells[i,28].Caption := sWert6;
1007   QRPG_Feld.Cells[i,28].Caption := sWert7;
1008   QRPG_Feld.Cells[i,28].Caption := sWert8;
In Zeile 1004 hält der Compiler an mit der Meldung:

Fataler Fehler, Inkompatible Typen 'TFontStyles' und 'TFontStyle'

Woran kann das liegen?

Danke

E. B.


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:07 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