Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't scroll in combobox??
Message
De
16/12/2020 03:06:55
 
 
À
15/12/2020 02:39:09
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01677575
Message ID:
01677600
Vues:
90
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
Fil
Voir

Click here to load this message in the networking platform