Autor Beitrag
Bergmann89
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Sa 04.10.08 02:32 
HI,

ich hab mir ne eingene Klasse geschrieben, die ich von TWinControl abgeleitet hab. Und jedesmal, wenn ich eine der Pfeiltasten drück wird der Focus auf das nächste Objekt gesetzt. Kann man das irgwendwie verhindern?

MfG Bergmann.

_________________
Ich weiß nicht viel, lern aber dafür umso schneller^^
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 04.10.08 12:23 
Du musst eine Tastenbehandlung schreiben (WM_KEY*) bzw. die Fokusbehandlung anpassen.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Bergmann89 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Sa 04.10.08 16:06 
HI,

wie mach ich das? Ich hab schonma bei meiner Klasse durchgeblättert, hab aber nix gefundn, womit ich das machen kann. Deshalb hab ich ja dann das Thema auf gemacht. n Stück Code oder zumindest n Befehl würde mir schon reichen, dann müsst ich selber weiter finden!

MfG Bergmann.

_________________
Ich weiß nicht viel, lern aber dafür umso schneller^^
Dunkel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 682

Mac OS X Snow Leopard
Xcode 3.1
BeitragVerfasst: Sa 04.10.08 16:30 

_________________
Ich streite einsam mich mit dieser Oberflächenwelt
Gutes sei ein löblich Brot von dem ich zehre - bis zum Tod [Das Ich - Im Ich]