Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't scroll in combobox??
Message
From
16/12/2020 03:06:55
 
 
To
15/12/2020 02:39:09
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01677575
Message ID:
01677600
Views:
92
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
Map
View

Click here to load this message in the networking platform