Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to disable PageUp and PageDown keys?

0
Posted

Is it possible to disable PageUp and PageDown keys?

0

The Key property replaces a virtual key that’s used by the control. The following sample disables the PageUp and PageDown keys: ComboBox1.Key(vbKeyPageUp) = 0 ComboBox1.Key(vbKeyPageDown) = 0 The following sample shows how to open the drop down window when user hits the F2 key: ( by default, the control opens the drop down window if the user presses the F4 key ) ComboBox1.Key(vbKeyF4) = 0 ComboBox1.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123