Autor Beitrag
Prof. Dachs
Hält's aus hier
Beiträge: 11

Win 2000 SP4
D7 Pers
BeitragVerfasst: Mo 25.04.05 18:08 
Hallo,

Ich habe eine Frage. Problem: Ich definiere einen eigenen Typ TRSStufe1 = class(TObject) und eine Variable Stufe1: TRSStufe1. Ich möchte jetzt bsw. mit Stufe1.Holz auf eine Konstante zugreifen.

Wie kann ich diese deklarieren?

Prof. Dachs

Moderiert von user profile iconTino: Delphi-Tags hinzugefügt.
Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mi 27.04.2005 um 10:39
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Mo 25.04.05 19:06 
Eine Klasse kann keine Konstanten haben. Sowas müsstest du dir z.B. mit properties basteln.