Autor Beitrag
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 30.04.06 16:19 
Hi,
ich bin Delphi Anfänger und habe mein erstes eigenes Projekt gemacht. Es orientieret sich an
dem Logiktrainer, ein Spiel mit farbigen Steckern. Das Programm ist nicht mit Farben sondern mit Zahlen gemacht.
Eine Anleitung steht im Programm. Ich habe das Programm "Gehirntrainer" genannt. Auf meiner Internetseite ist der Quelltext als PDF einzusehen. Ich würde mich freuen wenn jemand antwortet und mir seine Meinung zu dem Programm sagt. :D

Download(EXE): www.orell.de/dateien/gehirntrainer.exe (221KB)
(hier gibt es immer die aktuelle Version)

Leuchtturm

Moderiert von user profile iconTino: Titel den Richtlinien angepasst

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.


Zuletzt bearbeitet von Leuchtturm am So 04.06.06 14:43, insgesamt 6-mal bearbeitet
starsurfer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: So 30.04.06 17:03 
also hab mal kurz angetestet...

nette idee :D

aber paar kleine Bugs sind drinne:

1. wenn die Felder leer sind und man auf Ok klickt gibts einen unschönen Fehler...
2. man kann Zahlen eingeben die größer als 0-6 sind...
Tipp: maxlength:=1 und Keys abfragen nach 0-6(und Rückschritt)

werd dann ma weiter testen ....

_________________
GEIZ IST GEIL! - Ihr Sozialamt
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 30.04.06 17:09 
Danke für die schnelle Antwort
1. Versuch ich zu ändern
2. Funktioniert bei mir nicht(habe in der Hilfe nachgekuckt)
Leuchtturm

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
starsurfer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: So 30.04.06 17:11 
wieso soll das bei dir nicht funktionieren ? :gruebel:

_________________
GEIZ IST GEIL! - Ihr Sozialamt
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 30.04.06 17:13 
ich bekomm das einfach nicht hin, wie gesagt bin Anfänger

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
starsurfer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: So 30.04.06 17:18 
also:

du gibst ja deine Zahlen in Edit-Felder ein....

klick mal eins an und gugg mal im Objektinspektor nach "maxlength" und da schreibst du 1 rein, damit kannst du nur ein zeichen rein schreiben.....

dann weiter dann guggst du bei den Ereignissen in dem Edit-Feld bei "onkeypress"(könnte auch onkeydown sein, bin grade im Tran wegen der Feier gestern ^^)...

dort schreibst du rein
ausblenden Delphi-Quelltext
1:
 if not(key in [#48..#54,#8]) then key:=#0;					

damit kannst du nur noch 0-6 eingeben und ein Rückschritt machen....

_________________
GEIZ IST GEIL! - Ihr Sozialamt
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 30.04.06 17:22 
Jetzt funktioniert es
danke für deine Hilfe
An 1. arbeite ich noch

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mo 01.05.06 11:25 
Hab jetzt alle Fehler beseitigt die hier genannt wurden.
Bitte weiter testen :!:

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5284
Erhaltene Danke: 27

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mo 01.05.06 12:29 
hi, vielleicht solltest du das programm packen (upx), dann ist die exe nicht mehr so enorm groß.

kannst du mir mal das komplette projekt per pm schicken ? ich habe da einige verbesserungen für den code, da ließe sich bestimmt erheblich was wegkürzen ;)
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mo 01.05.06 16:59 
Hi,
oben ist der Link als *.exe und als *.zip
Leuchtturm

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5284
Erhaltene Danke: 27

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mo 01.05.06 17:21 
die solltest die exe packen, also net einfach in ein archiv rein sondern mit Suche bei Google UPX packen, probiers mit Suche bei Google UPX-IT wenn du keine konsolenanwendungen magst.
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mo 01.05.06 17:27 
OK
ist im Anhang
Einloggen, um Attachments anzusehen!
_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 07.05.06 13:33 
Ich habe jetzt noch im Programm die Buttons im Windows XP-Style gemacht.
Download ist oben.

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 04.06.06 14:43 
Ich habe jetzt auch noch ein Popup-Menü programiert.

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.