Autor Beitrag
mehmeh
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 97

WIN XP
D5 Prof
BeitragVerfasst: Mo 04.07.05 10:26 
hi,

ich rufe in einer Button procedure eine procedure konvertieren auf.
unter anderen will ich in der procedure konvertieren einen text in ein memo schreiben.
Allerdings bekomme ich beim starten des programms folgendes angezeigt:

Zitat:
[Warnung] Unit1.pas(307): Variable 'Memo1' wurde wahrscheinlich nicht Initialisiert


und es passiert nix.
CeeJay D-Magic
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94

Win XP Prof.
Delphi 7, Lazarus 0.9
BeitragVerfasst: Mo 04.07.05 12:30 
memo1 als Variable??
schau nochmal nach ob die namen alle stimmen - hast du einerseits eine Variable Memo1 und die Tmemo Memo1 selbst, kommt das proggi damit durcheinander

ansonsten post mal den Code!
mehmeh Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 97

WIN XP
D5 Prof
BeitragVerfasst: Mo 04.07.05 13:36 
ich hab memo1 nicht als Variable deklariert, sie steht mit oben bei Type

type
...
memo1 : TMemo;
...
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mo 04.07.05 13:41 
Hast du sie auch "erstellt"?

ausblenden Delphi-Quelltext
1:
2:
Memo1 := TMemo.Create(Form1);
Memo1.Parent := Form1;
mehmeh Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 97

WIN XP
D5 Prof
BeitragVerfasst: Mo 04.07.05 13:53 
na ja das memo liegt schon auf der Form
CeeJay D-Magic
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94

Win XP Prof.
Delphi 7, Lazarus 0.9
BeitragVerfasst: Mo 04.07.05 13:57 
ich sagte es schon Code her!
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mo 04.07.05 13:59 
user profile iconmehmeh hat folgendes geschrieben:
na ja das memo liegt schon auf der Form

Achso... :gruebel:

Also dann brauchen wir noch viel mehr Code... ;)
CeeJay D-Magic
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94

Win XP Prof.
Delphi 7, Lazarus 0.9
BeitragVerfasst: Mo 04.07.05 14:47 
er soll bloß das, was er in seinem prog geschrieben hat posten
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mo 04.07.05 16:24 
user profile iconCeeJay D-Magic hat folgendes geschrieben:
er soll bloß das, was er in seinem prog geschrieben hat posten

Ja klar... Was meinst du denn, was ich mein?!? :lol:
CeeJay D-Magic
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94

Win XP Prof.
Delphi 7, Lazarus 0.9
BeitragVerfasst: Mi 06.07.05 09:00 
ich dachte bei delphi selbst mehr Code, so hörtest du dich für mich an
-ausserdem, richtig stellen is nie falsch...

Meldet sich der Typ überhaupt mal wieder??
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 06.07.05 11:52 
user profile iconCeeJay D-Magic hat folgendes geschrieben:
ich dachte bei delphi selbst mehr Code, so hörtest du dich für mich an

Stimmt. :lol: War nicht so gemeint, wie du's verstanden hast... ;)

user profile iconCeeJay D-Magic hat folgendes geschrieben:
-ausserdem, richtig stellen is nie falsch...

Jo.

user profile iconCeeJay D-Magic hat folgendes geschrieben:
Meldet sich der Typ überhaupt mal wieder??

kA... ;)