Autor Beitrag
newbie44
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 117

Windows XP, Windows ME
D6 Pers, D7 Enterprise
BeitragVerfasst: Sa 24.07.04 17:24 
Auf Wunsch Peter, eröffne ich einen neuen Theard :lol:

Dann steht's halt doppelt da is ja wurscht. Wäre aber trotzdem schön, wenn ihr mir helfen könntet

Zitat:
Allgemeine Frage zu delphi,

wie spreche ich den Text des members TLabelededit als String an?

Ich brauche diese Funktion dringend.


Könnte mir nicht jemand einen Tipp oder Code geben, bin für jede Hilfe dankbar


Sebby :( :?:



Moderiert von user profile iconPeter Lustig: Topic aus CLX / Delphi Language (Object-Pascal) verschoben am Sat 24.07.2004 um 17:26
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Sa 24.07.04 18:13 
Inhalt des Edits : LabeledEdit1.Text oder meinst du die Caption, also die Beschriftung ? Das wäre die Unterproperty "EditLabel"

_________________
Gruß
Hansa
newbie44 Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 117

Windows XP, Windows ME
D6 Pers, D7 Enterprise
BeitragVerfasst: Sa 24.07.04 18:20 
Ich möchte diese Funktion einbauen und als String weiterverarbeiten, habe diese Funktion benutzt, geht aber komischerweise nich:

ausblenden Delphi-Quelltext
1:
s:=TLablededit.Text					


Er sagt ich bräuchte einen Methodenbezeichner oder sowas ähnliches, was hab ich vergessen, was mach ich falsch?

Sebby :( :cry:
Johannes Maier
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 173

Win XP
D7 Prof
BeitragVerfasst: Sa 24.07.04 18:30 
Hmm also bei mir klappt es so:

ausblenden Delphi-Quelltext
1:
s := LabeledEdit1.Text;					


Vielleicht solltest du das T davor weglassen und den korrekten Namen des LabeledEdits nehmen, wie bei mir im Beispiel LabeledEdit1 ...
Könnte mir nur vorstellen dass es daran liegt ...

_________________
MfG
Johannes ehem. jbmaier
newbie44 Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 117

Windows XP, Windows ME
D6 Pers, D7 Enterprise
BeitragVerfasst: Sa 24.07.04 18:38 
Danke das wars, jetzt gehts!

:cool:

Sebby :wink: :lol:
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Sa 24.07.04 18:59 
Merke dir das mit dem "T". Das steht für "Typ" und das ist eben keine Variable. Insofern können keine Wert-Zuweisungen erfolgen.

_________________
Gruß
Hansa