Autor Beitrag
Maa83
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Win XP Pro
D6 Ent
BeitragVerfasst: Di 18.04.06 14:31 
Hallo,

ich hab da ein Problem:

Ich habe eine ActiveForm erstellt. Diese beinhaltet ein paar Edits, ComboBoxen und 2 Grids. Alles funktioniert problemlos. Ich kann mit der Maus in die Edits, kann auch Text hineinschreiben nur ich alle "Steuertasten" --> Alt, Leertaste, Control, Backspace, Cursortasten... der Tastatur funktionieren nicht!

Bin schon am verzweifeln. Ich hoffe es kann mir jemand helfen.
DelphiAnfänger
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 112

Win XP, Firefox 2.0, IE6
Delphi 5 Prof., Delphi 2005 PE
BeitragVerfasst: Di 18.04.06 14:34 
ich schätze du hast irgendwas (unabsichtlich) mit onkeydown, onkeyup oder onkeypress gemacht was die Tastatureingaben abfängt
Maa83 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Win XP Pro
D6 Ent
BeitragVerfasst: Di 18.04.06 14:41 
das wäre schön... ist aber leider nicht so.
der Berliner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 417

Win Xp Home
delphi 2005
BeitragVerfasst: Di 18.04.06 14:48 
Hallo
Vielleicht hast Du ausversehen das KeyPreview vom Formular auf True gesetzt :?:
Gruß

Edit:Nee,is glaube ich quatsch.

_________________
[b]Ich weiß nicht immer, wovon ich rede. Aber ich weiß, dass ich recht habe.[b]
Maa83 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Win XP Pro
D6 Ent
BeitragVerfasst: Di 18.04.06 14:53 
nein, hab ich auch nicht.
Aber KeyPreview blockiert ja die Tastatur-Tasten nicht sondern die Ereignisse werden nur erst von der Form und dann vom jeweiligen Steuerelement ausgewertet.

Eine kleine Korrektur zu meinem Beitrag:

Es funktionieren nur die Cursor-Tasten nicht, also rechts, links, oben, unten. Mit diesen Tasten komme ich nicht mal ins OnKeyDown Ereignis...