Information générale
Catégorie:
Codage, syntaxe et commandes
Error:
If combobox (style=2 dropdownlist) had more elements and scrollable area, the mouse element selection did not work properly. Same with up and down arrow keys. It was 4 years ago, move from vfp6 to 9, hundreds computers with win 7 to 10.
From internet I put in MouseUp event of my base combo class:
LPARAMETERS nButton, nShift, nXCoord, nYCoord
inkey(.1)
>After upgrade from VFP6 to 9 I have problems with comboboxes with more elements.
>Somebody (thanks again) help me with:
>inkey(.1)
>in MouseUp() event
I'm not really sure what you are talking about. Can you give a larger code snippet and a more precise description of the error.
- what is the goal of the code
- what is the problem now
Anyway, the use of INKEY() is depreciated in OOP from the start. There is the KeyPress event, and using INKEY will mess it up.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement