Autor Beitrag
Lucky
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 84

XP
Delphi 7
BeitragVerfasst: Do 25.01.07 15:03 
hab ein Problem mit meiner wheelmouse die Prozedure dafür lautet
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
procedure tform8.appmessage(var msg:tmsg; var handled:boolean);
var i:smallint;
  begin
    if msg.message = WM_MOUSEWHEEL then
      begin
        msg.message := WM_KEYDOWN;
        msg.lparam  := 0;
        i := HiWord(msg.wParam);
          if(i>0then
              msg.wParam := vk_up
            else
              msg.wParam := vk_down;

          handled := false;
        end;
  end;


u jetzt funktioniert das im DBGrid immer noch nicht. muss ich da irgendwas spezielles beachten?? Oder hab ich nen Fehler?
Thanks schon mal im Voraus
chris

Moderiert von user profile iconGausi: Delphi-Tags hinzugefügt
Lucky Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 84

XP
Delphi 7
BeitragVerfasst: Do 25.01.07 15:35 
habs jetzt selber hinbekommen