Autor Beitrag
Amateur
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 777

(Win98, WinMe) WinXP Prof
D3 Prof, D6 Pers, D2k5 Pers., Turbo C++ Explorer
BeitragVerfasst: Di 30.08.05 21:25 
ich wollte nur zum test ma nen record erstellen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
type
  TForm1 = class(TForm)
  private
    { Private declarations }
  public
    { Public declarations }
  end;

  myrec = record
   Bild: TImage;
   wert:integer;
  end;


wieso funzt das net?

fehlermeldung is undeclared identifier : timage

normalerweise kann man doch images in nem record definieren oder?

Moderiert von user profile iconTino: Titel geändert.

_________________
"Kein dummes Gerede. Kein Rumrätseln. Denkt an nichts anderes mehr, nur noch an das, was vor euch liegt. Das ist die wahre Herausforderung. Ihr müßt euch vor euch selbst schützen, Leute." (Rennes in "Cube")
Beiträge: >700
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 30.08.05 21:29 
Damit TImage genutzt werden kann, muss eine zusätzliche Unit eingebunden sein. Geh einfach mal auf TImage, drück F1 und füg die darin genannte Unit mal in deine Uses-Klausel vom Formular ein. Danach sollte das auch gehen ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Amateur Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 777

(Win98, WinMe) WinXP Prof
D3 Prof, D6 Pers, D2k5 Pers., Turbo C++ Explorer
BeitragVerfasst: Di 30.08.05 21:33 
ok verdammt hätte ich auch selbst drauf kommen können... liegt wohl daran dass ich bisher immer erstma zum testen nen image von der komponentenleiste eingefügt hab und dann kommt die unit automatisch rein..

ok werd ich wohl das nächste ma wenn sowas kommt erstma nach den units gucken...
thx

_________________
"Kein dummes Gerede. Kein Rumrätseln. Denkt an nichts anderes mehr, nur noch an das, was vor euch liegt. Das ist die wahre Herausforderung. Ihr müßt euch vor euch selbst schützen, Leute." (Rennes in "Cube")
Beiträge: >700