Autor Beitrag
Marco15
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: Do 24.03.05 18:20 
Hey Leute !!!

Hat einer von Euch ne Ahnung wie man erreichen kann, dass es Delphi egal ist ob man etwas ins Editfeld groß oder klein schreibt?
Und zwar habe ich ein Programm geschrieben in dem Delphi beispielsweise auf Eingabe in Edit1 mit 'ja' (klein geschrieben) auch großgeschrieben die Prozedur ausführen soll. Nur das klappt irgendwie nicht!

???

Please help me

Danke im vorraus.

Marco15
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Do 24.03.05 18:24 
versuche mal folgendes
ausblenden Delphi-Quelltext
1:
if uppercase(edit1.text) = 'JA' then ...					

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Marco15 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: Do 24.03.05 18:29 
Hi retnyg!

Jetzt klappt das aber gar nicht mehr !!!

???

Marco15
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Do 24.03.05 18:35 
uppercase wandelt alle buchstaben in grossbuchstaben um.
deswegen musst du es auch mit grossgeschriebenen strings vergleichen.
poste mal was du hast

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Marco15 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: Do 24.03.05 18:38 
Achso !!!
Danke es hat jetzt geklappt ich wusste nur nicht was uppercase macht :roll: !!!

Danke!!!

Marco15 :D
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Do 24.03.05 18:55 
hätte man ja in der Hilfe nachschauen können (F1)

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)