Einzelnen Beitrag anzeigen

Benutzerbild von EccoBravo
EccoBravo

Registriert seit: 19. Okt 2004
Ort: Neuruppin
524 Beiträge
 
Delphi 2007 Architect
 
#1

Probleme mit TQRPGrid von QRPowerPack, Bold-Schriften

  Alt 24. Nov 2005, 10:48
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.
  Mit Zitat antworten Zitat