Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box and the mouse wheel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00921902
Message ID:
00922094
Vues:
19
>>Probably because if you did, you'd have to fire the InteractiveChange event. For example, click on the dropdown at the top of the UT page. Then scroll with the mouse wheel. What happens is that the next selection is activated regardless of whether or not that's what you intend.
>>
>>I can see both sides (firing and not firing) as being desirable, but how would you determine whether or not the mouse wheel caused the change and not the actual selection.
>
Hi Mike,
>
>Using IE once you have focus on the dropdown but have not activated the dropdown's list a wheel scroll changes the selection and fires the onchange event (or InteractiveChange in VFP). If you are using firefox or other Mozilla browser it does not change the selection which IMO is a better behavior.

Ah, I did not know that. I've been using just IE for so long, I tend to think of it as the "only" browser (which, of course, is a mistake).

>On the browser once you have activated a dropdown's list then the mouse wheel will cause the listbox to scroll up or down with wheel movement but does not change the value until you pick another selection. This behavior is also true in VFP except if you move the mouse over the dropdown list area or off the control (but the control still has focus). In Mozilla if you move the mouse wheel when the pointer is not over the list area then the list will disappear. Its real nice to see some consistancy in the behaviors here <g>.

It does sound better than the way IE handles it.

>I see now that basicly the behavior is the same and I can live with this. I just have to remember to not move the mouse over the list or off the control.

Have you played around with the MouseWheel event at all? I'm wondering if the behavior can be emulated there.

>BTW, good to here from you, it's been awhile. Glad to see your still Foxing cause I know your doing some .Net work now. It's been quite awhile for me since I worked with VFP to developed a thick client app - so bear with me on any stupid questions I post. I got to get down there to Georgia and buy you those beers I owe you for all your help!

Oh, I've still got plenty of Fox work to do. I seem, however, to have become, "Mr. Everylanguage". This year so far I've done work in VFP, Powerbuilder, VBScript (I actually hooked up an old FPW program to silently call a VBScript file that generated an SDF file using ADO for importing from SQL Server< g >), VB.Net, and C#. Haven't done anything in C++ yet this year, but there's still nearly 5 months to go.:-)
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform