Bonjour
Voila mon soucis j'aimerais que la touche TAB agisse comme l'appuie de la touche ENTER...
Et j'ai deja essayer avec les evenements KeyPress, KeyDown, KeyPress...
J'ai bien tenté avec la procedure WndProc...
La tabulation ne fonctionne plus... ca c'est ce que je voulais en partie mais elle n'agit pas comme la touche ENTER...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 if (msg.WParam = 9) and not (GetKeyState(vk_control)<0) and not (GetKeyState(vk_menu)<0) and ( FmInventaire.ActiveControl.Handle = wwDbGrid_Comptage.Handle ) then begin if (msg.WParam and $80000000)=0 then begin msg.WParam := 0; msg.Result := 1; wwDbGrid_Comptage.Dispatch(Msg); // if ( (Msg.Msg = WM_KEYUP) OR (Msg.Msg = WM_KEYDOWN) ) then wwDbGrid_Comptage.Perform(WM_KEYDOWN, 13, 1); end
Alors si vous pouviez m'aider a sortir de cette melasse vous seriez gentil
Partager