General information
Category:
Coding, syntax & commands
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only