Advertisement
7_2009-2012 VB function enhancement #236152

Mouse scrolling

Vb's textbox will scroll up/down when you scroll with the mouse wheel, so will combo boxes. For those controls that cannot do this you need to add this functionality manually. The zip file includes a module for just this purpose and an example form (see screenshot) to show how to use it. The module recieves the mousescrolling event and then calls the mousemove event of the corresponding control. The code in the mousemove event sub must then check the module to see whether scrolling has indeed taken place, and if so in what direction. It can then respond by changing the .Top property or .TopRow property. This is particularly useful for MSFLEXGRID.

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
Upload
Commenti originali (3)
Recuperato da Wayback Machine