Autor Beitrag
Fabian
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 42



BeitragVerfasst: Sa 20.07.02 19:55 
Wie kann ich erreichen das ein Button beim drücken einer bestimmten Taste gedrückt wird ?
Currywurst
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 50

Win XP Pro
D3 Pro, D5 Std, D6 Pers
BeitragVerfasst: Sa 20.07.02 20:30 
die frage is zwar recht undeutlich formuliert, aber setze z.b. mal keypreview der form auf true, und suche das OnKeyPress ereignis der form, da kannste dann z.b. sowas reinschreiben: if Key='a' then Button1.Click;
Maxigraf
Hält's aus hier
Beiträge: 15



BeitragVerfasst: So 21.07.02 01:48 
Wenn es OK/Cancel Buttons sein sollen, dann einfach die Eigentschaft Default auf True setzten (für OK) bzw Cancel auf True (für Cancel ;) )
Müsste gehen :)