Autor Beitrag
Inspecta
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: So 26.10.03 14:34 
hey,
ich möchte für eine Hausaufgabe in Informatik ein Programm zum berechnen von volumen und oberfläche eines zylinders schreiben.
jetzt steh ich vor dem problem, dass ich eine grafik einfügen will aber nicht weiß wie es geht!Bitte schnell antworten.

Danke
freq.9
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: So 26.10.03 14:39 
Unter Additional > Image kannst du ein Bild in dein Form einfügen.

_________________
Admin of RealScripts
Inspecta Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: So 26.10.03 14:53 
wenn du mir noch sagen könntest wo das is, wäre mir geholfen :wink:
freq.9
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP (RedHat 9)
Delphi 7.0 Ent
BeitragVerfasst: So 26.10.03 15:17 
Bei den Komponenten in der Leiste
Standart - Additional - Win32 - System - ...

_________________
Admin of RealScripts
Inspecta Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: Mo 27.10.03 00:14 
yoyo hat geholfen danke nochmal. hab da noch ne frage
ausblenden Delphi-Quelltext
1:
label4.Caption:='Oberfläche: '+floattostrf(o,fffixed,5,2);					

und zwar gebe ich so den wert o aus will aber nach dem wert ein cm² stehen haben, irgendwie krieg ich es nich hin es mit einzubauen!

könnt ihr mir helfen???

Moderiert von user profile iconTino: Delphi-Tags hinzugefügt.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 27.10.03 03:14 
Wie du schon richtig erkannt hast hängt man Strings mit einem "+" aneinander. Jetzt denk mal drüber nach...
Also irgendwie komme ich mir zielmich verarascht vor, wenn ich das sehe:
ausblenden Delphi-Quelltext
1:
label4.Caption:='Oberfläche: '+floattostrf(o,fffixed,5,2);					

Und dann fragst du wie du an einen String noch weitere Zeichen anhängen kannst. :evil:
joerg68
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 116

Win 2000
D5Enterprise
BeitragVerfasst: Mo 27.10.03 10:20 
Wo ist das Problem :roll:
ausblenden Delphi-Quelltext
1:
label4.Caption:='Oberfläche: '+floattostrf(o,fffixed,5,2)+ 'cm²';					


Gruß
Jörg

_________________
Aus den Chaos sprach eine Stimme " Lächele und sei froh denn es könnte schlimmer kommen". Und ich lächelte und ich war froh.
UND ES KAM SCHLIMMER