Autor Beitrag
Wolle92
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Mi 29.08.07 15:05 
hallo,
ich finde es total nervig, dass ich immer auf den Button klicken muss, bei meinen Programmen, nachdem ich irgendwas eingegeben hab oder so...
Weiß jemand, wie ich nen zweiten Fokus auf den Button legen kann?
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 29.08.07 15:11 
Moin!

user profile iconWolle92 hat folgendes geschrieben:
ich finde es total nervig, dass ich immer auf den Button klicken muss, bei meinen Programmen, nachdem ich irgendwas eingegeben hab oder so...

Also ich muss auch dauern irgend welche Sachen eingeben und Buttons anklicken, nervt mich echt; weiß jemand, wie man die Gedankeneingabe aktivieren kann?! :rofl:

user profile iconWolle92 hat folgendes geschrieben:
Weiß jemand, wie ich nen zweiten Fokus auf den Button legen kann?

Was auch immer du willst - jedenfalls hast du es leider nicht geschafft, brauchbar dein Problem zu beschreiben... :?!?:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
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: Mi 29.08.07 15:13 
beim Button default = true
Calculon
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Mi 29.08.07 15:16 
Ich schätze mal er meint so etwas:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
//in EditOnKeyPressed 
if (key = #13or (key = #10then 
  begin 
    key = #0
    button1.click;
  end;

Gruß

Calculon
--