Registriert seit: 14. Nov 2007
Ort: Nidderau
80 Beiträge
Delphi 7 Enterprise
|
Re: EditBox Groß und Kleinschreibung ignorieren
14. Nov 2007, 18:22
ok, hier isser:
Delphi-Quellcode:
if Edit1.Text = ('CHEAT') then PlaySound(PChar(4), hInstance, SND_ASYNC or SND_MEMORY or SND_RESOURCE);
if Edit1.Text = ('Max') then PlaySound(PChar(6), hInstance, SND_ASYNC or SND_MEMORY or SND_RESOURCE);
if Edit1.Text = ('Chicken') then PlaySound(PChar(5), hInstance, SND_ASYNC or SND_MEMORY or SND_RESOURCE);
if Edit1.Text = ('Headshot') then PlaySound(PChar(4), hInstance, SND_ASYNC or SND_MEMORY or SND_RESOURCE);
also der sound klappt, aber halt nur 1:1 im text.
|
|
Zitat
|